[PATCH 0/3] Fix failure to connect after rfkill off

Ilan Peer ilan.peer at intel.com
Thu Mar 27 02:58:28 EDT 2014


This series attempts to resolve the following issue.

In case of rfkill off both the station interface and the P2P
Device interfaces are enabled and set to start scanning. This
might result in:

1. Delayed connection flow, as even if after the first scan
   a candidate was found, the connection is delayed until both
   scan cycles are done.
2. If the same candidate found in the 2nd scan, another
   connection flow is attempted, but fails since there is already
   a connection flow pending. However, when the previous connection
   flow starts it might find that the BSS pointer is not longer valid
   (due to updated scan results), and thus the connection fails. 

Ilan Peer (3):
  P2P: Do not initiate scan on P2P Device when enabled
  wpa_supplicant: remove pending sme-connect radio work [BUGFIX]
  wpa_supplicant: cancel scan work when starting a connection

 wpa_supplicant/events.c         |    6 ++++++
 wpa_supplicant/sme.c            |   10 ++++++++--
 wpa_supplicant/wpa_supplicant.c |   10 ++++++++++
 3 files changed, 24 insertions(+), 2 deletions(-)

-- 
1.7.10.4



More information about the HostAP mailing list