summary refs log tree commit diff
path: root/net/mac80211/scan.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2021-04-26 21:28:02 +0200
committerJohannes Berg <johannes.berg@intel.com>2021-05-31 21:27:15 +0200
commitb90f51e8e1f5014c01c82a7bf4c611643d0a8bcb (patch)
treea73e8bac746ca6e180f81e0d35acd15e9a00b492 /net/mac80211/scan.c
parenta64b6a25dd9f984ed05fade603a00e2eae787d2f (diff)
downloadlinux-b90f51e8e1f5014c01c82a7bf4c611643d0a8bcb.tar.gz
staging: rtl8723bs: fix monitor netdev register/unregister
Due to the locking changes and callbacks happening inside
cfg80211, we need to use cfg80211 versions of the register
and unregister functions if called within cfg80211 methods,
otherwise deadlocks occur.

Fixes: a05829a7222e ("cfg80211: avoid holding the RTNL when calling the driver")
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20210426212801.3d902cc9e6f4.Ie0b1e0c545920c61400a4b7d0f384ea61feb645a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/scan.c')
0 files changed, 0 insertions, 0 deletions