[RESEND PATCH] wpa_supplicant: Denitialize the driver if the last user went away

Jouni Malinen j at w1.fi
Fri Oct 23 09:14:26 PDT 2015


On Fri, Oct 23, 2015 at 06:03:33PM +0200, Lubomir Rintel wrote:
> It might be that the underlying infrastrucutre went away and the state is no
> longer valid. We ought to reinitialize it once a device appears again.
> 
> This is the case when the nl80211 devices disappear and cfg8011 is remoed
> afterwards. The netlink handle is no longer valid (returns ENOENT) and a new
> one needs to be open if it's loaded back.

There is no point in sending this again until you've replied to my
previous review comments.. Copied here from the September 5th email:

As noted previously, this is not the correct way to address this.
Furthermore, removing and re-adding cfg80211 works fine for me. Have you
tested this with the following "nl80211: Resubscribe to nl80211 events
on global nl_event socket" commit included?

http://w1.fi/cgit/hostap/commit/?id=f51f54a007e0de1d413dee3523472d3bbeed2ecc
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list