Skip to content

Commit 014b9eb

Browse files
committed
Same issue happens in this driver. Signed-off-by: Nathan Chancellor <[email protected]>
1 parent 971a2bb commit 014b9eb

File tree

1 file changed

+3
-3
lines changed
  • drivers/net/wireless/realtek/rtl8192cu/include

1 file changed

+3
-3
lines changed

drivers/net/wireless/realtek/rtl8192cu/include/ieee80211.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -1194,18 +1194,18 @@ enum ieee80211_state {
11941194
(((Addr[2]) & 0xff) == 0xff) && (((Addr[3]) & 0xff) == 0xff) && (((Addr[4]) & 0xff) == 0xff) && \
11951195
(((Addr[5]) & 0xff) == 0xff))
11961196
#else
1197-
extern __inline int is_multicast_mac_addr(const u8 *addr)
1197+
static inline int is_multicast_mac_addr(const u8 *addr)
11981198
{
11991199
return ((addr[0] != 0xff) && (0x01 & addr[0]));
12001200
}
12011201

1202-
extern __inline int is_broadcast_mac_addr(const u8 *addr)
1202+
static inline int is_broadcast_mac_addr(const u8 *addr)
12031203
{
12041204
return ((addr[0] == 0xff) && (addr[1] == 0xff) && (addr[2] == 0xff) && \
12051205
(addr[3] == 0xff) && (addr[4] == 0xff) && (addr[5] == 0xff));
12061206
}
12071207

1208-
extern __inline int is_zero_mac_addr(const u8 *addr)
1208+
static inline int is_zero_mac_addr(const u8 *addr)
12091209
{
12101210
return ((addr[0] == 0x00) && (addr[1] == 0x00) && (addr[2] == 0x00) && \
12111211
(addr[3] == 0x00) && (addr[4] == 0x00) && (addr[5] == 0x00));

0 commit comments

Comments
 (0)