Loading
qcacld-3.0: Address race between disconnect and system suspend
A race between cfg80211 disconnect and wiphy system suspend can lead to either DPM WD or serialization VDEV disconnect active command timeout since scheduler thread gets suspended as part of wiphy suspend and both cfg80211_disconnect and wiphy suspend/resume acquire RTNL lock. To address this race condition avoid disconnect when wiphy suspend is already completed since scheduler thread gets suspended as part of wiphy suspend and it can't process vdev disconnect. Change-Id: Ia7e42cffb3f6b08b33c878b68122dbdc00bad251 CRs-Fixed: 3042442