diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c index 9aab921f7ca8d16593c4493cade052307c093b60..80e017df5f31679f5af283701ed2aa30be9ac1fe 100644 --- a/net/mac80211/scan.c +++ b/net/mac80211/scan.c @@ -665,6 +665,8 @@ void ieee80211_scan_work(struct work_struct *work) rc = __ieee80211_start_scan(sdata, req); if (rc) { + /* need to complete scan in cfg80211 */ + local->scan_req = req; aborted = true; goto out_complete; } else