Files
android_kernel_samsung_sm86…/core
Yu Ouyang 2b22e003f9 qcacld-3.0: Ignore wiphy_suspend if shutdown_suspend enabled
If shutdown_suspend mode enabled, idle shutdown should be done before
suspend enter (wihpy_suspend). However, idle shutdow (cnss_idle_shutdown)
may return zero even failed to shutdown. Because cnss_idle_shutdown
just post event, and then return, almost always return zero.

Once this happened, driver can't be disabled. Function wiphy_suspend
and wlan_hdd_cfg80211_suspend_wlan will be called. It is not expected.
So, ignore wiphy_suspend if shutdown_suspend enabled, return EINVAL
directly.

Change-Id: I156a0bbefabe0e02ecdbe7ae37477b716840a0d4
CRs-Fixed: 3240745
2022-07-29 05:56:35 -07:00
..
2022-07-29 02:37:28 -07:00