Hi Dan

Besides the logs attached in the previous mail, I also get the these
logs[1] in another laptop running Fedora 25.

So I suppose more reason codes should be checked instead of just -4 in
need_new_wpa_psk().

*[1] https://paste.gnome.org/pmpudt8od

On Sat, Dec 17, 2016 at 1:37 AM Dan Williams <[email protected]> wrote:

>
> If the association fails during the 4-way handshake the most likely
> reason for a failure is a wrong PSK.  The older mail thread you
> referenced doesn't indicate what the disconnect reason code was, but we
> didn't have reason codes available in NM back in 2008 so it may well
> have been the same one.
>
> But in your new case, the "Connection disconnected (-4)" does indicate
> a different reason: WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY.  The
> negative indicates it came from the kernel/driver, not from the AP.
>  That usually indicates a bug in the driver or with power-saving
> functionality.  NM should handle this better.
>
> I've mailed a patch for this to the list, thanks for the report!
>
> Dan
>
_______________________________________________
networkmanager-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to