aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271_main.c
diff options
context:
space:
mode:
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>2010-03-26 06:53:28 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-03-31 14:39:15 -0400
commitc2b2d99bb0b5a9445ff8b845f6acd5046ef5815e (patch)
tree46617c3510cc66947c9f1e501091d8145c894ef7 /drivers/net/wireless/wl12xx/wl1271_main.c
parentcbf7f3058ea17d9413a6889c3a229e8eac7a7c78 (diff)
wl1271: Configure probe-request template when associated
Configure a probe-request template to the wl1271 when associated - the wl1271 will use this to attempt to recover a connection when beacon loss is detected. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_main.c')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271_main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_main.c b/drivers/net/wireless/wl12xx/wl1271_main.c
index 523e051d62dd..849c4ac6e01b 100644
--- a/drivers/net/wireless/wl12xx/wl1271_main.c
+++ b/drivers/net/wireless/wl12xx/wl1271_main.c
@@ -1667,6 +1667,15 @@ static void wl1271_op_bss_info_changed(struct ieee80211_hw *hw,
1667 if (ret < 0) 1667 if (ret < 0)
1668 goto out_sleep; 1668 goto out_sleep;
1669 1669
1670 /*
1671 * The SSID is intentionally set to NULL here - the
1672 * firmware will set the probe request with a
1673 * broadcast SSID regardless of what we set in the
1674 * template.
1675 */
1676 ret = wl1271_cmd_build_probe_req(wl, NULL, 0,
1677 NULL, 0, wl->band);
1678
1670 ret = wl1271_acx_aid(wl, wl->aid); 1679 ret = wl1271_acx_aid(wl, wl->aid);
1671 if (ret < 0) 1680 if (ret < 0)
1672 goto out_sleep; 1681 goto out_sleep;