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:
02ad2d9
)
wl12xx: always set mac_address when configuring ht caps
author
Eliad Peller
<
[email protected]
>
Tue, 22 Feb 2011 22:27:07 +0000
(
00:27
+0200)
committer
Luciano Coelho
<
[email protected]
>
Wed, 23 Feb 2011 09:11:20 +0000
(11:11 +0200)
The mac_address should be set also when ht caps are disabled.
Signed-off-by: Eliad Peller <
[email protected]
>
Signed-off-by: Luciano Coelho <
[email protected]
>
drivers/net/wireless/wl12xx/acx.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/wl12xx/acx.c
b/drivers/net/wireless/wl12xx/acx.c
index 33840d95d17de83ef44f29313801b141319bfa55..6d5312990f79e183a2e4c29556956c70e88e6565 100644
(file)
--- a/
drivers/net/wireless/wl12xx/acx.c
+++ b/
drivers/net/wireless/wl12xx/acx.c
@@
-1328,10
+1328,9
@@
int wl1271_acx_set_ht_capabilities(struct wl1271 *wl,
/* get data from A-MPDU parameters field */
acx->ampdu_max_length = ht_cap->ampdu_factor;
acx->ampdu_min_spacing = ht_cap->ampdu_density;
-
- memcpy(acx->mac_address, mac_address, ETH_ALEN);
}
+ memcpy(acx->mac_address, mac_address, ETH_ALEN);
acx->ht_capabilites = cpu_to_le32(ht_capabilites);
ret = wl1271_cmd_configure(wl, ACX_PEER_HT_CAP, acx, sizeof(*acx));