提交 31726ff2 编写于 作者: G Ganapathi Bhat 提交者: Kalle Valo

mwifiex: notify cfg80211 about scan abort

Driver sends a series of scan commands to firmware to serve a
user scan request. If an intermediate scan command fails, driver
aborts the scan but it is not being informed to cfg80211. This
will cause issues in applications performing periodic scans.
Fix this by informing scan abort.
Signed-off-by: NCathy Luo <cluo@marvell.com>
Signed-off-by: NGanapathi Bhat <gbhat@marvell.com>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 519ce2f9
...@@ -70,11 +70,7 @@ mwifiex_process_cmdresp_error(struct mwifiex_private *priv, ...@@ -70,11 +70,7 @@ mwifiex_process_cmdresp_error(struct mwifiex_private *priv,
break; break;
case HostCmd_CMD_802_11_SCAN: case HostCmd_CMD_802_11_SCAN:
case HostCmd_CMD_802_11_SCAN_EXT: case HostCmd_CMD_802_11_SCAN_EXT:
mwifiex_cancel_pending_scan_cmd(adapter); mwifiex_cancel_scan(adapter);
spin_lock_irqsave(&adapter->mwifiex_cmd_lock, flags);
adapter->scan_processing = false;
spin_unlock_irqrestore(&adapter->mwifiex_cmd_lock, flags);
break; break;
case HostCmd_CMD_MAC_CONTROL: case HostCmd_CMD_MAC_CONTROL:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册