Skip to content

Commit

Permalink
rtl8723ds: Check ssids in cfg80211_rtw_scan()
Browse files Browse the repository at this point in the history
This should be the fix for Issue #36

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
  • Loading branch information
lwfinger committed Apr 12, 2023
1 parent ec85dc6 commit 42fdd13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion os_dep/linux/ioctl_cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 42fdd13

Please sign in to comment.