diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2016-06-27 14:16:28 +0530 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-07-08 12:59:27 +0300 |
commit | 09e672a16b92902f411eecc180397191ee5a7e05 (patch) | |
tree | aac8c57e380a7357490999934eea8c30f5d76f3a /drivers/net/wireless | |
parent | 322397b268f76082951248ccc197cefcdfcd01bb (diff) | |
download | linux-09e672a16b92902f411eecc180397191ee5a7e05.tar.gz linux-09e672a16b92902f411eecc180397191ee5a7e05.tar.bz2 linux-09e672a16b92902f411eecc180397191ee5a7e05.zip |
mwifiex: clear scan_aborting flag
The flag should be cleaned along with other scan operation variables.
This was missing at some places.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/marvell/mwifiex/scan.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/scan.c b/drivers/net/wireless/marvell/mwifiex/scan.c index e33112298fec..96d0d8652678 100644 --- a/drivers/net/wireless/marvell/mwifiex/scan.c +++ b/drivers/net/wireless/marvell/mwifiex/scan.c @@ -1960,6 +1960,7 @@ static void mwifiex_check_next_scan_command(struct mwifiex_private *priv) "info: notifying scan done\n"); cfg80211_scan_done(priv->scan_request, 0); priv->scan_request = NULL; + priv->scan_aborting = false; } else { priv->scan_aborting = false; mwifiex_dbg(adapter, INFO, @@ -1981,6 +1982,7 @@ static void mwifiex_check_next_scan_command(struct mwifiex_private *priv) "info: aborting scan\n"); cfg80211_scan_done(priv->scan_request, 1); priv->scan_request = NULL; + priv->scan_aborting = false; } else { priv->scan_aborting = false; mwifiex_dbg(adapter, INFO, @@ -2022,6 +2024,7 @@ void mwifiex_cancel_scan(struct mwifiex_adapter *adapter) "info: aborting scan\n"); cfg80211_scan_done(priv->scan_request, 1); priv->scan_request = NULL; + priv->scan_aborting = false; } } } |