From: Grazvydas Ignotas Date: Tue, 22 Apr 2014 00:09:54 +0000 (+0300) Subject: wl1251: fix mixed up args for join X-Git-Tag: next-20140516~64^2~34 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=863bdbc91803b42cf7628e34f41dbd142d8de645;p=karo-tx-linux.git 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 Tested-by: Pali Rohár Signed-off-by: John W. Linville --- 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, if (ret < 0) goto out_sleep; - ret = wl1251_join(wl, wl->bss_type, wl->beacon_int, - wl->channel, wl->dtim_period); + ret = wl1251_join(wl, wl->bss_type, wl->channel, + wl->beacon_int, wl->dtim_period); if (ret < 0) goto out_sleep;