未验证 提交 5de2105b 编写于 作者: O openharmony_ci 提交者: Gitee

!140 p2p error initialization when add wlan0 interface

Merge pull request !140 from fenis_2001/submit_br
......@@ -4449,6 +4449,10 @@ int wpas_p2p_init(struct wpa_global *global, struct wpa_supplicant *wpa_s)
if (!(wpa_s->drv_flags & WPA_DRIVER_FLAGS_P2P_CAPABLE))
return 0;
#ifdef CONFIG_DRIVER_NL80211_HISI
if (os_strncmp(wpa_s->ifname, "wlan", os_strlen("wlan")) == 0)
return 0;
#endif
if (global->p2p)
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册