提交 2992a324 编写于 作者: D David Spinadel 提交者: Emmanuel Grumbach

iwlwifi: mvm: remove warning on unknown scan complete

Remove warning on scan complete with unknown ID, since this
scan could be already cleared in abort flow.
Signed-off-by: NDavid Spinadel <david.spinadel@intel.com>
Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
上级 c8660dd5
...@@ -1951,8 +1951,10 @@ int iwl_mvm_rx_umac_scan_complete_notif(struct iwl_mvm *mvm, ...@@ -1951,8 +1951,10 @@ int iwl_mvm_rx_umac_scan_complete_notif(struct iwl_mvm *mvm,
bool sched = !!(uid & IWL_UMAC_SCAN_UID_SCHED_SCAN); bool sched = !!(uid & IWL_UMAC_SCAN_UID_SCHED_SCAN);
int uid_idx = iwl_mvm_find_scan_uid(mvm, uid); int uid_idx = iwl_mvm_find_scan_uid(mvm, uid);
if (WARN(uid_idx >= IWL_MVM_MAX_SIMULTANEOUS_SCANS, /*
"Scan notification for uknown scan ID\n")) * Scan uid may be set to zero in case of scan abort request from above.
*/
if (uid_idx >= IWL_MVM_MAX_SIMULTANEOUS_SCANS)
return 0; return 0;
IWL_DEBUG_SCAN(mvm, IWL_DEBUG_SCAN(mvm,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册