mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-31 23:42:52 +01:00
station: use IE_AKM_IS_FILS
Use this macro instead of manually checking
This commit is contained in:
parent
44b3e7a8bb
commit
6e660032c1
@ -1167,10 +1167,7 @@ build_ie:
|
|||||||
* a reference now so it remains valid (in case of expiration) until
|
* a reference now so it remains valid (in case of expiration) until
|
||||||
* FILS starts.
|
* FILS starts.
|
||||||
*/
|
*/
|
||||||
if (hs->akm_suite & (IE_RSN_AKM_SUITE_FILS_SHA256 |
|
if (IE_AKM_IS_FILS(hs->akm_suite))
|
||||||
IE_RSN_AKM_SUITE_FILS_SHA384 |
|
|
||||||
IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA256 |
|
|
||||||
IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA384))
|
|
||||||
hs->erp_cache = erp_cache;
|
hs->erp_cache = erp_cache;
|
||||||
else if (erp_cache)
|
else if (erp_cache)
|
||||||
erp_cache_put(erp_cache);
|
erp_cache_put(erp_cache);
|
||||||
|
Loading…
Reference in New Issue
Block a user