qcacld-3.0: Do not handle regdomain notifier after cfg80211 suspend
Currently, kernel invoke the regdomain notifier to host driver using registered callback. If kernel call this callback after cfg80211 aka system suspend, Then because of race condition host might send the PDEV SET REGDOMAIN/PARAM to fwr after WOW ENABLE cmd which is not correct cmd sequence. Change-Id: I3a5ebcbedc529b188e43e4d0ae60510fff8a703d CRs-Fixed: 3583337
This commit is contained in:

committed by
Rahul Choudhary

parent
0f7d749e5f
commit
5a19eb6a50
@@ -1063,6 +1063,11 @@ void hdd_reg_notifier(struct wiphy *wiphy,
|
||||
return;
|
||||
}
|
||||
|
||||
if (hdd_ctx->is_wiphy_suspended) {
|
||||
hdd_err_rl("system/cfg80211 is already suspend");
|
||||
return;
|
||||
}
|
||||
|
||||
hdd_debug("country: %c%c, initiator %d, dfs_region: %d",
|
||||
request->alpha2[0],
|
||||
request->alpha2[1],
|
||||
|
Reference in New Issue
Block a user