diff options
-rw-r--r-- | net/mac80211/scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c index af0d094b2f2f..d23c8d90c3b4 100644 --- a/net/mac80211/scan.c +++ b/net/mac80211/scan.c | |||
@@ -799,7 +799,7 @@ void ieee80211_scan_work(struct work_struct *work) | |||
799 | if (!sdata || !local->scan_req) | 799 | if (!sdata || !local->scan_req) |
800 | goto out; | 800 | goto out; |
801 | 801 | ||
802 | if (local->scan_req && !local->scanning) { | 802 | if (!local->scanning) { |
803 | struct cfg80211_scan_request *req = local->scan_req; | 803 | struct cfg80211_scan_request *req = local->scan_req; |
804 | int rc; | 804 | int rc; |
805 | 805 | ||