Revert "wifi: cfg80211: stop NAN and P2P in cfg80211_leave"

This reverts commit 31344ffecd which is commit
e1696c8bd0 upstream.

The reverted patch introduced a deadlock. The locking situation in mainline is
totally different, so it is incorrect to directly backport the commit from mainline.

Signed-off-by: Guocai He <guocai.he.cn@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Guocai He 2026-04-14 11:20:06 +08:00 • committed by Greg Kroah-Hartman
commit be0bbb201f