AP: Drop not needed condition to delete PTK ID 1
Signed-off-by: Alexander Wetzel <alexander@wetzel-home.de>
This commit is contained in:
parent
34708b4893
commit
3f88d2ba0d
1 changed files with 1 additions and 1 deletions
|
@ -1741,7 +1741,7 @@ void wpa_remove_ptk(struct wpa_state_machine *sm)
|
|||
0, KEY_FLAG_PAIRWISE))
|
||||
wpa_printf(MSG_DEBUG,
|
||||
"RSN: PTK removal from the driver failed");
|
||||
if (sm->wpa_auth->conf.extended_key_id && sm->use_ext_key_id &&
|
||||
if (sm->use_ext_key_id &&
|
||||
wpa_auth_set_key(sm->wpa_auth, 0, WPA_ALG_NONE, sm->addr, 1, NULL,
|
||||
0, KEY_FLAG_PAIRWISE))
|
||||
wpa_printf(MSG_DEBUG,
|
||||
|
|
Loading…
Reference in a new issue