mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2024-11-15 03:25:35 +00:00
MA-18600 Wifi: Wifi direct is not working
"mgmt_subtype_mask" is not updated with the supplicant provided mask in the "mgmt_frame_register" handler. cfg80211 handler "mgmt_frame_register" is updated from the kernel version 5.8 onwards. mgmt_subtype_mask is not updated in the 5.8 specific path. Updating mgmt_subtype_mask with required mask from supplicant in the 5.8 kernel specific hanlder path. Test: Wifi Direct work as GO or GC. Change-Id: I457e1b44ec0b9f3481b5ccc81ccaa6a9e67b741b Signed-off-by: yang.tian <yang.tian@nxp.com>
This commit is contained in:
parent
5426fc45f2
commit
0d82d39f24
1 changed files with 1 additions and 0 deletions
|
@ -2390,6 +2390,7 @@ void woal_cfg80211_mgmt_frame_register(struct wiphy *wiphy,
|
||||||
*/
|
*/
|
||||||
&& !moal_extflg_isset(priv->phandle, EXT_HOST_MLME))
|
&& !moal_extflg_isset(priv->phandle, EXT_HOST_MLME))
|
||||||
upd->interface_stypes &= ~BIT(IEEE80211_STYPE_AUTH >> 4);
|
upd->interface_stypes &= ~BIT(IEEE80211_STYPE_AUTH >> 4);
|
||||||
|
priv->mgmt_subtype_mask = upd->interface_stypes;
|
||||||
woal_reg_rx_mgmt_ind(priv, MLAN_ACT_SET, &upd->interface_stypes,
|
woal_reg_rx_mgmt_ind(priv, MLAN_ACT_SET, &upd->interface_stypes,
|
||||||
MOAL_NO_WAIT);
|
MOAL_NO_WAIT);
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue