Commit aca4c9e
wifi: wlcore: Fix a locking bug
[ Upstream commit 72c6df8 ]
Make sure that wl->mutex is locked before it is unlocked. This has been
detected by the Clang thread-safety analyzer.
Fixes: 45aa7f0 ("wlcore: Use generic runtime pm calls for wowlan elp configuration")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20260223220102.2158611-26-bart.vanassche@linux.dev
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 78bb63b commit aca4c9e
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1800 | 1800 | | |
1801 | 1801 | | |
1802 | 1802 | | |
| 1803 | + | |
| 1804 | + | |
1803 | 1805 | | |
1804 | 1806 | | |
1805 | 1807 | | |
| |||
1816 | 1818 | | |
1817 | 1819 | | |
1818 | 1820 | | |
1819 | | - | |
1820 | | - | |
1821 | 1821 | | |
1822 | 1822 | | |
1823 | 1823 | | |
| |||
0 commit comments