mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 01:32:47 -04:00
staging: rtl8192e: Exclude scan_mutex in rtllib_softmac_stop_scan
Exclude scan_mutex from cancel_delayed_work_sync(&ieee->softmac_scan_wq) as ieee->softmac_scan_wq takes scan_mutex as well. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/20230514204033.GA20187@matrix-ESPRIMO-P710 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
dffef6de4d
commit
35a70c0305
@@ -682,11 +682,11 @@ static void rtllib_softmac_stop_scan(struct rtllib_device *ieee)
|
||||
if (ieee->scanning_continue == 1) {
|
||||
ieee->scanning_continue = 0;
|
||||
ieee->actscanning = false;
|
||||
|
||||
mutex_unlock(&ieee->scan_mutex);
|
||||
cancel_delayed_work_sync(&ieee->softmac_scan_wq);
|
||||
} else {
|
||||
mutex_unlock(&ieee->scan_mutex);
|
||||
}
|
||||
|
||||
mutex_unlock(&ieee->scan_mutex);
|
||||
}
|
||||
|
||||
void rtllib_stop_scan(struct rtllib_device *ieee)
|
||||
|
||||
Reference in New Issue
Block a user