aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest/rx_mgmt.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-09-18 18:26:55 (GMT)
committerJouni Malinen <j@w1.fi>2011-09-18 18:26:55 (GMT)
commit20f5a4c24c69fbbae0362e073369254db75c7f0d (patch)
tree3ca94dbaf59478b7d1a1469a3a572d4838e5888e /wlantest/rx_mgmt.c
parent1b414f59fc46b8c88e606de122debf69e8b5faa8 (diff)
downloadhostap-20f5a4c24c69fbbae0362e073369254db75c7f0d.zip
hostap-20f5a4c24c69fbbae0362e073369254db75c7f0d.tar.gz
hostap-20f5a4c24c69fbbae0362e073369254db75c7f0d.tar.bz2
nl80211: Work around EALREADY from connect command
cfg80211 does not currently allow NL80211_CMD_CONNECT when there is already an association. This can result in wpa_supplicant being unable to request a connection if the interface is already in connected state. Work around this by requesting disconnection if the connect command fails with EALREADY error. This allows wpa_supplicant to recover from the unexpected state and complete the connect request on next attempt.
Diffstat (limited to 'wlantest/rx_mgmt.c')
0 files changed, 0 insertions, 0 deletions