diff options
author | John W. Linville <linville@tuxdriver.com> | 2012-11-28 10:56:03 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-11-28 10:56:03 -0500 |
commit | 79d38f7d6cf545ff838dd5227869f3916d1d100d (patch) | |
tree | 859c8071aab68fd32f36ffb9ebc04cf12db6e5e0 /drivers/net/wireless/ti/wlcore/main.c | |
parent | 03f52a0a554210d5049eeed9f1bb29047dc807cb (diff) | |
parent | 0751f8654602e4255f0b9c17784d8100d5896010 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem
Conflicts:
drivers/net/wireless/iwlwifi/pcie/tx.c
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/main.c')
-rw-r--r-- | drivers/net/wireless/ti/wlcore/main.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/net/wireless/ti/wlcore/main.c b/drivers/net/wireless/ti/wlcore/main.c index 25530c8760c..4f1a05b92d2 100644 --- a/drivers/net/wireless/ti/wlcore/main.c +++ b/drivers/net/wireless/ti/wlcore/main.c | |||
@@ -677,7 +677,7 @@ static void wl12xx_get_vif_count(struct ieee80211_hw *hw, | |||
677 | memset(data, 0, sizeof(*data)); | 677 | memset(data, 0, sizeof(*data)); |
678 | data->cur_vif = cur_vif; | 678 | data->cur_vif = cur_vif; |
679 | 679 | ||
680 | ieee80211_iterate_active_interfaces(hw, | 680 | ieee80211_iterate_active_interfaces(hw, IEEE80211_IFACE_ITER_RESUME_ALL, |
681 | wl12xx_vif_count_iter, data); | 681 | wl12xx_vif_count_iter, data); |
682 | } | 682 | } |
683 | 683 | ||
@@ -3791,7 +3791,7 @@ static void wl1271_bss_info_changed_ap(struct wl1271 *wl, | |||
3791 | 3791 | ||
3792 | /* Handle HT information change */ | 3792 | /* Handle HT information change */ |
3793 | if ((changed & BSS_CHANGED_HT) && | 3793 | if ((changed & BSS_CHANGED_HT) && |
3794 | (bss_conf->channel_type != NL80211_CHAN_NO_HT)) { | 3794 | (bss_conf->chandef.width != NL80211_CHAN_WIDTH_20_NOHT)) { |
3795 | ret = wl1271_acx_set_ht_information(wl, wlvif, | 3795 | ret = wl1271_acx_set_ht_information(wl, wlvif, |
3796 | bss_conf->ht_operation_mode); | 3796 | bss_conf->ht_operation_mode); |
3797 | if (ret < 0) { | 3797 | if (ret < 0) { |
@@ -3905,7 +3905,8 @@ sta_not_found: | |||
3905 | u32 rates; | 3905 | u32 rates; |
3906 | int ieoffset; | 3906 | int ieoffset; |
3907 | wlvif->aid = bss_conf->aid; | 3907 | wlvif->aid = bss_conf->aid; |
3908 | wlvif->channel_type = bss_conf->channel_type; | 3908 | wlvif->channel_type = |
3909 | cfg80211_get_chandef_type(&bss_conf->chandef); | ||
3909 | wlvif->beacon_int = bss_conf->beacon_int; | 3910 | wlvif->beacon_int = bss_conf->beacon_int; |
3910 | do_join = true; | 3911 | do_join = true; |
3911 | set_assoc = true; | 3912 | set_assoc = true; |
@@ -4071,7 +4072,7 @@ sta_not_found: | |||
4071 | /* Handle new association with HT. Do this after join. */ | 4072 | /* Handle new association with HT. Do this after join. */ |
4072 | if (sta_exists) { | 4073 | if (sta_exists) { |
4073 | if ((changed & BSS_CHANGED_HT) && | 4074 | if ((changed & BSS_CHANGED_HT) && |
4074 | (bss_conf->channel_type != NL80211_CHAN_NO_HT)) { | 4075 | (bss_conf->chandef.width != NL80211_CHAN_WIDTH_20_NOHT)) { |
4075 | ret = wl1271_acx_set_ht_capabilities(wl, | 4076 | ret = wl1271_acx_set_ht_capabilities(wl, |
4076 | &sta_ht_cap, | 4077 | &sta_ht_cap, |
4077 | true, | 4078 | true, |
@@ -4098,7 +4099,7 @@ sta_not_found: | |||
4098 | 4099 | ||
4099 | /* Handle HT information change. Done after join. */ | 4100 | /* Handle HT information change. Done after join. */ |
4100 | if ((changed & BSS_CHANGED_HT) && | 4101 | if ((changed & BSS_CHANGED_HT) && |
4101 | (bss_conf->channel_type != NL80211_CHAN_NO_HT)) { | 4102 | (bss_conf->chandef.width != NL80211_CHAN_WIDTH_20_NOHT)) { |
4102 | ret = wl1271_acx_set_ht_information(wl, wlvif, | 4103 | ret = wl1271_acx_set_ht_information(wl, wlvif, |
4103 | bss_conf->ht_operation_mode); | 4104 | bss_conf->ht_operation_mode); |
4104 | if (ret < 0) { | 4105 | if (ret < 0) { |