File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
packages/linux-drivers/RTL8812AU/patches Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 1+ diff -Naur RTL8812AU-3f015f0/include/ieee80211.h RTL8812AU-3f015f0.patch/include/ieee80211.h
2+ --- RTL8812AU-3f015f0/include/ieee80211.h 2015-07-14 21:45:26.000000000 +0200
3+ +++ RTL8812AU-3f015f0.patch/include/ieee80211.h 2015-11-03 14:12:38.570076503 +0100
4+ @@ -1286,12 +1286,12 @@
5+ (((Addr[2]) & 0xff) == 0xff) && (((Addr[3]) & 0xff) == 0xff) && (((Addr[4]) & 0xff) == 0xff) && \
6+ (((Addr[5]) & 0xff) == 0xff))
7+ #else
8+ - extern __inline int is_multicast_mac_addr(const u8 *addr)
9+ + static __inline int is_multicast_mac_addr(const u8 *addr)
10+ {
11+ return ((addr[0] != 0xff) && (0x01 & addr[0]));
12+ }
13+
14+ - extern __inline int is_broadcast_mac_addr(const u8 *addr)
15+ + static __inline int is_broadcast_mac_addr(const u8 *addr)
16+ {
17+ return ((addr[0] == 0xff) && (addr[1] == 0xff) && (addr[2] == 0xff) && \
18+ (addr[3] == 0xff) && (addr[4] == 0xff) && (addr[5] == 0xff));
You can’t perform that action at this time.
0 commit comments