File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
drivers/net/wireless/iwlwifi/dvm Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -1012,12 +1012,12 @@ static void iwl_calc_basic_rates(struct iwl_priv *priv,
1012
1012
* As a consequence, it's not as complicated as it sounds, just add
1013
1013
* any lower rates to the ACK rate bitmap.
1014
1014
*/
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 ;
1021
1021
/* 1M already there or needed so always add */
1022
1022
cck |= IWL_RATE_1M_MASK >> IWL_FIRST_CCK_RATE ;
1023
1023
Original file line number Diff line number Diff line change @@ -458,8 +458,6 @@ void ieee80211_roc_purge(struct ieee80211_sub_if_data *sdata)
458
458
list_move_tail (& roc -> list , & tmp_list );
459
459
roc -> abort = true;
460
460
}
461
-
462
- ieee80211_start_next_roc (local );
463
461
mutex_unlock (& local -> mtx );
464
462
465
463
list_for_each_entry_safe (roc , tmp , & tmp_list , list ) {
You can’t perform that action at this time.
0 commit comments