mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2024-11-14 11:05:34 +00:00
mwifiex: fix the suspend issue when run suspend test with the 17266 wifi release
For the wifi release 17266, we found SDIO8987 and PCIE8997 both may meet below error logs when run suspend stress test. "HS not actived, suspend fail!" For pcie8997 on imx8mp, this may cause system hang. For sdio8987 and pcie8997 on other platforms, this may cause suspend fail sometimes. This patch is a workaround for this issue. WCS team still debugging this issue. Signed-off-by: Sherry Sun <sherry.sun@nxp.com> Approved-by: Tian Yang <yang.tian@nxp.com>
This commit is contained in:
parent
42c915813e
commit
6ac7352a0d
1 changed files with 2 additions and 1 deletions
|
@ -3821,7 +3821,8 @@ woal_cfg80211_reg_notifier(struct wiphy *wiphy,
|
|||
break;
|
||||
}
|
||||
if (priv->wdev && priv->wdev->wiphy &&
|
||||
(request->initiator != NL80211_REGDOM_SET_BY_COUNTRY_IE)) {
|
||||
(request->initiator != NL80211_REGDOM_SET_BY_COUNTRY_IE) &&
|
||||
(MTRUE != is_cfg80211_special_region_code(region))) {
|
||||
band = priv->phandle->band;
|
||||
priv->phandle->band = IEEE80211_BAND_2GHZ;
|
||||
woal_send_domain_info_cmd_fw(priv, MOAL_IOCTL_WAIT);
|
||||
|
|
Loading…
Reference in a new issue