Skip to content

Commit bd19b5a

Browse files
author
Kalle Valo
committed
Merge tag 'iwlwifi-for-kalle-2017-01-23' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-fixes
* Remove an extra hyphen from a string that was preventing the firmware to load * Avoid a crash when the firmware is restarted in certain scenarios with DQA
2 parents 92549cd + 03c902b commit bd19b5a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

drivers/net/wireless/intel/iwlwifi/iwl-8000.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191

9292
#define IWL8000_FW_PRE "iwlwifi-8000C-"
9393
#define IWL8000_MODULE_FIRMWARE(api) \
94-
IWL8000_FW_PRE "-" __stringify(api) ".ucode"
94+
IWL8000_FW_PRE __stringify(api) ".ucode"
9595

9696
#define IWL8265_FW_PRE "iwlwifi-8265-"
9797
#define IWL8265_MODULE_FIRMWARE(api) \

drivers/net/wireless/intel/iwlwifi/mvm/sta.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,9 +1164,10 @@ static void iwl_mvm_realloc_queues_after_restart(struct iwl_mvm *mvm,
11641164
.frame_limit = IWL_FRAME_LIMIT,
11651165
};
11661166

1167-
/* Make sure reserved queue is still marked as such (or allocated) */
1168-
mvm->queue_info[mvm_sta->reserved_queue].status =
1169-
IWL_MVM_QUEUE_RESERVED;
1167+
/* Make sure reserved queue is still marked as such (if allocated) */
1168+
if (mvm_sta->reserved_queue != IEEE80211_INVAL_HW_QUEUE)
1169+
mvm->queue_info[mvm_sta->reserved_queue].status =
1170+
IWL_MVM_QUEUE_RESERVED;
11701171

11711172
for (i = 0; i <= IWL_MAX_TID_COUNT; i++) {
11721173
struct iwl_mvm_tid_data *tid_data = &mvm_sta->tid_data[i];

0 commit comments

Comments
 (0)