projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
601d6c4
)
wlcore: use correct LAA bit
author
Eliad Peller
<eliad@wizery.com>
Fri, 11 Jul 2014 00:01:29 +0000
(
03:01
+0300)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 15 Jul 2014 19:59:54 +0000
(15:59 -0400)
The LAA bit is second bit of the MSB, not of the
third byte.
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ti/wlcore/main.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ti/wlcore/main.c
b/drivers/net/wireless/ti/wlcore/main.c
index 1ab6dbdb47f30fad3ce28dff93497b0dccae98ff..4c16262afa16dbc0b1c0395cec635d2ffbd3f09f 100644
(file)
--- a/
drivers/net/wireless/ti/wlcore/main.c
+++ b/
drivers/net/wireless/ti/wlcore/main.c
@@
-5661,7
+5661,7
@@
static void wl12xx_derive_mac_addresses(struct wl1271 *wl, u32 oui, u32 nic)
memcpy(&wl->addresses[idx], &wl->addresses[0],
sizeof(wl->addresses[0]));
/* LAA bit */
- wl->addresses[idx].addr[
2
] |= BIT(1);
+ wl->addresses[idx].addr[
0
] |= BIT(1);
}
wl->hw->wiphy->n_addresses = WLCORE_NUM_MAC_ADDRESSES;