qcacld-3.0: Ignore duplicated assoc req frame
When PMF enabled, SA Query will be triggered unexpectly if duplicated assoc_req received after pre_auth node deleted and before key installed. Here drop such duplicated assoc_req frame. Change-Id: I1c769892052fba5e8c7340b2f82e822add573dd4 CRs-Fixed: 2966447
This commit is contained in:
parent
3c6aa0c3f2
commit
5ee7bb99f2
@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2012-2020 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@ -2335,6 +2336,15 @@ void lim_process_assoc_req_frame(struct mac_context *mac_ctx, uint8_t *rx_pkt_in
|
||||
session->limSystemRole,
|
||||
QDF_MAC_ADDR_REF(hdr->sa));
|
||||
return;
|
||||
} else if (sta_ds->rmfEnabled && !sta_ds->is_key_installed) {
|
||||
/* When PMF enabled, SA Query will be triggered
|
||||
* unexpectly if duplicated assoc_req received -
|
||||
* 1) after pre_auth node deleted and
|
||||
* 2) before key installed.
|
||||
* Here drop such duplicated assoc_req frame.
|
||||
*/
|
||||
pe_err("Drop duplicate assoc_req before 4-way HS");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user