Message ID | 1493202888-20784-1-git-send-email-huxinming820@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 83625a40165a01655db017fcc871c30e81e56ab4 |
Delegated to: | Kalle Valo |
Headers | show |
Xinming Hu <huxinming820@gmail.com> wrote: > From: Xinming Hu <huxm@marvell.com> > > P2p client act as a station, data will be queued by DA instead > of RA. This patch pass the sanity check, so that p2p client share > the same data path with infrastruction station mode. > > Signed-off-by: Xinming Hu <huxm@marvell.com> > Signed-off-by: Cathy Luo <cluo@marvell.com> Patch applied to wireless-drivers-next.git, thanks. 83625a40165a mwifiex: p2p client using same data path as station
diff --git a/drivers/net/wireless/marvell/mwifiex/main.h b/drivers/net/wireless/marvell/mwifiex/main.h index f1cb875..72e87bf 100644 --- a/drivers/net/wireless/marvell/mwifiex/main.h +++ b/drivers/net/wireless/marvell/mwifiex/main.h @@ -1235,7 +1235,8 @@ int mwifiex_cmd_802_11_bg_scan_config(struct mwifiex_private *priv, * Currently we assume if we are in Infra, then DA=RA. This might not be * true in the future */ - if ((priv->bss_mode == NL80211_IFTYPE_STATION) && + if ((priv->bss_mode == NL80211_IFTYPE_STATION || + priv->bss_mode == NL80211_IFTYPE_P2P_CLIENT) && (GET_BSS_ROLE(priv) == MWIFIEX_BSS_ROLE_STA)) return false;