[PATCH] wpa_cli: Fix global control interface for STA-FIRST/STA-NEXT

Jouni Malinen j at w1.fi
Mon Jul 17 08:37:27 PDT 2017


On Mon, May 22, 2017 at 09:38:58PM +0000, dimitrysh at google.com wrote:
> If global control interface is used and wlan doesn't support P2P,
>   wpa_s->global->p2p == NULL, and log shows:
> wpa_supplicant: Failed to create interface p2p-dev-wlan0: -5 (I/O error)
> wpa_supplicant: nl80211: Failed to create a P2P Device interface
> p2p-dev-wlan0
> wpa_supplicant: P2P: Failed to enable P2P Device interface
> 
> Then STA-FIRST/STA-NEXT is not going to redirect to any interface, making
> update_stations(ctrl_conn) is stuck in never-ending loop:

Thanks, applied.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list