qcacmn: Check the sae single pmk ini for scan entry
Currently when updating the single pmk capability for an AP, the driver only changes for the sae single pmk OUI advertised by the AP and not the ini value. This causes the crypto entry for the AP to be updated with single pmk flag to true even when the ini is disabled. So check the sae single pmk ini also to update the scan entry as sae single pmk bss. Change-Id: I2ae16c8da5af397b041723f9d5a3b2d8a6e7c986 CRs-Fixed: 2935440
This commit is contained in:

committed by
Madan Koyyalamudi

부모
32780dcf1c
커밋
58a8a97272
@@ -884,22 +884,27 @@ util_scan_entry_adaptive_11r(struct scan_cache_entry *scan_entry)
|
||||
return scan_entry->ie_list.adaptive_11r;
|
||||
}
|
||||
|
||||
#if defined(WLAN_SAE_SINGLE_PMK) && defined(WLAN_FEATURE_ROAM_OFFLOAD)
|
||||
/**
|
||||
* util_scan_entry_single_pmk()- function to read single pmk Vendor IE
|
||||
* @psoc: Pointer to global psoc object
|
||||
* @scan_entry: scan entry
|
||||
*
|
||||
* API, function to read sae single pmk IE
|
||||
*
|
||||
* Return: true if single_pmk ie is present or false if ie is not present
|
||||
*/
|
||||
bool
|
||||
util_scan_entry_single_pmk(struct wlan_objmgr_psoc *psoc,
|
||||
struct scan_cache_entry *scan_entry);
|
||||
#else
|
||||
static inline bool
|
||||
util_scan_entry_single_pmk(struct scan_cache_entry *scan_entry)
|
||||
util_scan_entry_single_pmk(struct wlan_objmgr_psoc *psoc,
|
||||
struct scan_cache_entry *scan_entry)
|
||||
{
|
||||
if (scan_entry->ie_list.single_pmk)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* util_scan_get_rsn_len()- function to read rsn IE length if present
|
||||
|
Reference in New Issue
Block a user