diff options
author | Grazvydas Ignotas <notasas@gmail.com> | 2014-04-21 20:09:54 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-05-13 15:56:22 -0400 |
commit | 863bdbc91803b42cf7628e34f41dbd142d8de645 (patch) | |
tree | a28081e756a4751fd15aa88d402f403b25158409 /drivers/net/wireless/ti | |
parent | a5640612cfc13006ef69c0b2a7b12fc120212cb3 (diff) |
wl1251: fix mixed up args for join
The join arguments are mixed up, passing beacon_interval instead of
channel and channel instead of beacon_interval. Fix them.
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Tested-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ti')
-rw-r--r-- | drivers/net/wireless/ti/wl1251/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ti/wl1251/main.c b/drivers/net/wireless/ti/wl1251/main.c index f557eb59aea5..4e782f18ae34 100644 --- a/drivers/net/wireless/ti/wl1251/main.c +++ b/drivers/net/wireless/ti/wl1251/main.c | |||
@@ -1226,8 +1226,8 @@ static void wl1251_op_bss_info_changed(struct ieee80211_hw *hw, | |||
1226 | if (ret < 0) | 1226 | if (ret < 0) |
1227 | goto out_sleep; | 1227 | goto out_sleep; |
1228 | 1228 | ||
1229 | ret = wl1251_join(wl, wl->bss_type, wl->beacon_int, | 1229 | ret = wl1251_join(wl, wl->bss_type, wl->channel, |
1230 | wl->channel, wl->dtim_period); | 1230 | wl->beacon_int, wl->dtim_period); |
1231 | 1231 | ||
1232 | if (ret < 0) | 1232 | if (ret < 0) |
1233 | goto out_sleep; | 1233 | goto out_sleep; |