mirror of
https://github.com/torvalds/linux.git
synced 2026-06-09 23:23:53 +02:00
net: wireless: bcmdhd: Prevent recursive call of cfg80211_sched_scan_stopped()
Change-Id: I821313a69b2d2bb978917fc184bf9e095dd48c47 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
parent
6460ff855d
commit
357566d0a2
|
|
@ -8002,9 +8002,7 @@ static s32 wl_notify_escan_complete(struct wl_priv *wl,
|
|||
#ifdef WL_SCHED_SCAN
|
||||
if (wl->sched_scan_req && !wl->scan_request) {
|
||||
WL_PNO((">>> REPORTING SCHED SCAN RESULTS \n"));
|
||||
if (aborted)
|
||||
cfg80211_sched_scan_stopped(wl->sched_scan_req->wiphy);
|
||||
else
|
||||
if (!aborted)
|
||||
cfg80211_sched_scan_results(wl->sched_scan_req->wiphy);
|
||||
wl->sched_scan_running = FALSE;
|
||||
wl->sched_scan_req = NULL;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user