projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de8df1e
)
wl1251: don't build null data template in wl1251_op_config()
author
Kalle Valo
<kalle.valo@nokia.com>
Thu, 26 Nov 2009 08:56:13 +0000
(10:56 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 7 Dec 2009 21:50:13 +0000
(16:50 -0500)
The bssid can be zero when null data template is set in wl1251_op_config().
It's enough, and especially safe, to set it once after association.
Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1251_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/wl12xx/wl1251_main.c
b/drivers/net/wireless/wl12xx/wl1251_main.c
index
50d17fc
..
2f50a25
100644
(file)
--- a/
drivers/net/wireless/wl12xx/wl1251_main.c
+++ b/
drivers/net/wireless/wl12xx/wl1251_main.c
@@
-629,10
+629,6
@@
static int wl1251_op_config(struct ieee80211_hw *hw, u32 changed)
goto out_sleep;
}
- ret = wl1251_build_null_data(wl);
- if (ret < 0)
- goto out_sleep;
-
if (conf->flags & IEEE80211_CONF_PS && !wl->psm_requested) {
wl1251_debug(DEBUG_PSM, "psm enabled");