<html><body><span style="font-family:Verdana; color:#000; font-size:10pt;"><div>If I attempt to join a network using the correct ssid but an incorrect passphrase wpa_supplicant begins reporting authenticated then deauthenticated for many minutes (maybe forever).</div><div>Not sure but Reason 15 may be 4-Way Handshake timeout, which would make sense as the passphrase is incorrect.<br></div><div>Also iw dev wlan0 link reports "connected".</div><div>Is there any way to avoid this behaviour?</div><div><br></div><div><br></div><div>Here is the output from wpa_supplicant: </div><div><br></div><div>[ 1102.231929] cfg80211: Calling CRDA to update world regulatory domain<br>[ 1102.269454] cfg80211: World regulatory domain updated:<br>[ 1102.274979] cfg80211:&nbsp;&nbsp; (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)</div><div><br>(Removed freq output)<br></div><div><br></div><div>[ 1103.476626] wlan0: authenticate with c0:3f:0e:10:4f:b0<br>[ 1103.503194] wlan0: send auth to c0:3f:0e:10:4f:b0 (try 1/3)<br>[ 1103.510827] wlan0: authenticated<br>[ 1103.514891] rt2800usb 1-1.2:1.0 wlan0: disabling HT as WMM/QoS is not supported by the AP<br>[ 1103.523559] rt2800usb 1-1.2:1.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP<br>[ 1103.533374] wlan0: associate with c0:3f:0e:10:4f:b0 (try 1/3)<br>[ 1103.546588] wlan0: RX AssocResp from c0:3f:0e:10:4f:b0 (capab=0x411 status=0 aid=2)<br>[ 1103.559152] wlan0: associated<br>pkill wpa_suppli[ 1111.676598] wlan0: deauthenticated from c0:3f:0e:10:4f:b0 (Reason: 15)<br>[ 1111.704629] cfg80211: Calling CRDA to update world regulatory domain</div><div><br></div><div>(Repeat many many times.)<br></div><div><br></div><div><br></div></span></body></html>