mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2025-01-15 16:25:35 +00:00
mxm_wifiex: fix L6.1.55 kernel build break
When build wifi driver based on L6.1.55 kernel, will observe the following build error. | mxm_wifiex/wlan_src/mlinux/moal_sta_cfg80211.c:10345:36: error: 'REGULATORY_IGNORE_STALE_KICKOFF' undeclared (first use in this function) | 10345 | wiphy->regulatory_flags |= REGULATORY_IGNORE_STALE_KICKOFF; | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This error caused by kernel patch e8c2af660ba0("wifi: cfg80211: fix regulatory disconnect with OCB/NAN") remove the REGULATORY_IGNORE_STALE_KICKOFF flag. Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
This commit is contained in:
parent
0f0c33998c
commit
defde68632
1 changed files with 1 additions and 1 deletions
|
@ -10336,7 +10336,7 @@ mlan_status woal_register_cfg80211(moal_private *priv)
|
||||||
PRINTM(MIOCTL, "Follow countryIE provided by AP.\n");
|
PRINTM(MIOCTL, "Follow countryIE provided by AP.\n");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#if CFG80211_VERSION_CODE >= KERNEL_VERSION(3, 19, 0) && CFG80211_VERSION_CODE < KERNEL_VERSION(6, 5, 0)
|
#if CFG80211_VERSION_CODE >= KERNEL_VERSION(3, 19, 0) && CFG80211_VERSION_CODE < KERNEL_VERSION(6, 1, 39)
|
||||||
/*REGULATORY_IGNORE_STALE_KICKOFF: the regulatory core will _not_ make
|
/*REGULATORY_IGNORE_STALE_KICKOFF: the regulatory core will _not_ make
|
||||||
* sure all interfaces on this wiphy reside on allowed channels. If this
|
* sure all interfaces on this wiphy reside on allowed channels. If this
|
||||||
* flag is not set, upon a regdomain change, the interfaces are given a
|
* flag is not set, upon a regdomain change, the interfaces are given a
|
||||||
|
|
Loading…
Reference in a new issue