Add a log message when GTK rekeying failed
It can happen if the station is unreachable or sleeping longer than the actual total GTK rekey timeout. To fix the latter case wpa_group_update_count may be increased. Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
This commit is contained in:
parent
41f140d386
commit
4bb9b674c8
2 changed files with 8 additions and 0 deletions
|
@ -3134,6 +3134,10 @@ SM_STATE(WPA_PTK_GROUP, KEYERROR)
|
|||
sm->group->GKeyDoneStations--;
|
||||
sm->GUpdateStationKeys = FALSE;
|
||||
sm->Disconnect = TRUE;
|
||||
wpa_auth_vlogger(sm->wpa_auth, sm->addr, LOGGER_INFO,
|
||||
"group key handshake failed (%s) after %u tries",
|
||||
sm->wpa == WPA_VERSION_WPA ? "WPA" : "RSN",
|
||||
sm->wpa_auth->conf.wpa_group_update_count);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue