[PATCH v3] wpa_supplicant: Denitialize the driver if the last user went away
Sat Sep 5 10:57:53 PDT 2015
On Sat, Aug 29, 2015 at 02:30:44PM +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.
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?
Jouni Malinen PGP id EFC895FA
More information about the Hostap