Skip to content

Commit 9f8933e

Browse files
committed
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem
2 parents e196c0e + 6bdd253 commit 9f8933e

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

drivers/net/wireless/iwlwifi/dvm/rxon.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,12 +1012,12 @@ static void iwl_calc_basic_rates(struct iwl_priv *priv,
10121012
* As a consequence, it's not as complicated as it sounds, just add
10131013
* any lower rates to the ACK rate bitmap.
10141014
*/
1015-
if (IWL_RATE_11M_INDEX < lowest_present_ofdm)
1016-
ofdm |= IWL_RATE_11M_MASK >> IWL_FIRST_CCK_RATE;
1017-
if (IWL_RATE_5M_INDEX < lowest_present_ofdm)
1018-
ofdm |= IWL_RATE_5M_MASK >> IWL_FIRST_CCK_RATE;
1019-
if (IWL_RATE_2M_INDEX < lowest_present_ofdm)
1020-
ofdm |= IWL_RATE_2M_MASK >> IWL_FIRST_CCK_RATE;
1015+
if (IWL_RATE_11M_INDEX < lowest_present_cck)
1016+
cck |= IWL_RATE_11M_MASK >> IWL_FIRST_CCK_RATE;
1017+
if (IWL_RATE_5M_INDEX < lowest_present_cck)
1018+
cck |= IWL_RATE_5M_MASK >> IWL_FIRST_CCK_RATE;
1019+
if (IWL_RATE_2M_INDEX < lowest_present_cck)
1020+
cck |= IWL_RATE_2M_MASK >> IWL_FIRST_CCK_RATE;
10211021
/* 1M already there or needed so always add */
10221022
cck |= IWL_RATE_1M_MASK >> IWL_FIRST_CCK_RATE;
10231023

net/mac80211/offchannel.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,8 +458,6 @@ void ieee80211_roc_purge(struct ieee80211_sub_if_data *sdata)
458458
list_move_tail(&roc->list, &tmp_list);
459459
roc->abort = true;
460460
}
461-
462-
ieee80211_start_next_roc(local);
463461
mutex_unlock(&local->mtx);
464462

465463
list_for_each_entry_safe(roc, tmp, &tmp_list, list) {

0 commit comments

Comments
 (0)