mirror of
https://github.com/amazingfate/rtl8723ds.git
synced 2025-10-13 12:26:02 +01:00
rtl8723ds: Check ssids in cfg80211_rtw_scan()
This should be the fix for Issue #36 Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
ec85dc6b9f
commit
42fdd132e9
@ -2358,7 +2358,7 @@ static int cfg80211_rtw_scan(struct wiphy *wiphy
|
||||
}
|
||||
|
||||
#ifdef CONFIG_P2P
|
||||
if (pwdinfo->driver_interface == DRIVER_CFG80211) {
|
||||
if (ssids && (pwdinfo->driver_interface == DRIVER_CFG80211)) {
|
||||
if (_rtw_memcmp(ssids->ssid, "DIRECT-", 7) &&
|
||||
rtw_get_p2p_ie((u8 *)request->ie, request->ie_len, NULL, NULL)) {
|
||||
if (rtw_p2p_chk_state(pwdinfo, P2P_STATE_NONE))
|
||||
|
Loading…
x
Reference in New Issue
Block a user