cfg80211: fix deadlocks in autodisconnect work
authorMarkus Theil <markus.theil@tu-ilmenau.de>
Wed, 8 Jan 2020 11:55:36 +0000 (12:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jan 2020 07:22:46 +0000 (08:22 +0100)
commit6ba1df726c9c25e107e5006954d0e0657346f4c8
tree7ad727c929e7e25fadec69d50533a062099dcff4
parenta0885de5cc48efee30eb4ab7f02cb74c5f12aa70
cfg80211: fix deadlocks in autodisconnect work

commit 5a128a088a2ab0b5190eeb232b5aa0b1017a0317 upstream.

Use methods which do not try to acquire the wdev lock themselves.

Cc: stable@vger.kernel.org
Fixes: 37b1c004685a3 ("cfg80211: Support all iftypes in autodisconnect_wk")
Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
Link: https://lore.kernel.org/r/20200108115536.2262-1-markus.theil@tu-ilmenau.de
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/wireless/sme.c