qcacld-3.0: Do not invoke the kernel registered function from driver
Netdev-ops/cfg80211-ops are registered to the kernel and should
be invoked only by the kernel in the context of the user.
In this scenario during SSR as part of cfg80211_stop_ap for p2p_go
the driver is directly invoking hdd_hostapd_stop(netdev ops) which
clears the DEVICE_OPENED flag, which should be done only if the
INTERFACE_DOWN is triggered by the kernel. To resolve this
directly stop the queues rather than using the netdev ops.
Change-Id: I1d9349a2c52fe8de17313bdced494ccd5bc9d641
CRs-Fixed: 1114722
1 file changed