qcacld-3.0: Correction in conditional logic in key operations
In set default key operation module, under SAP mode, there are conditional checks on key type information derived from the Station's context. Also in get/add key operations SAP or STA context pointers are derived without knowing the device mode first, which is incorrect. Derive key type info from SAP context in set default key and derive station or sap context pointers only after knowing the device mode. Change-Id: I09b0e6f8d6315677e7584c7c24f003daa3eca9a3 CRs-Fixed: 2127288
This commit is contained in:
@@ -1250,6 +1250,16 @@ QDF_STATUS wlansap_set_dfs_preferred_channel_location(tHalHandle hHal,
|
||||
QDF_STATUS wlansap_set_dfs_target_chnl(tHalHandle hHal,
|
||||
uint8_t target_channel);
|
||||
|
||||
/**
|
||||
* wlan_sap_get_roam_profile() - Returns sap roam profile.
|
||||
* @sap_ctx: Pointer to Sap Context.
|
||||
*
|
||||
* This function provides the SAP roam profile.
|
||||
*
|
||||
* Return: SAP RoamProfile
|
||||
*/
|
||||
tCsrRoamProfile *wlan_sap_get_roam_profile(struct sap_context *sap_ctx);
|
||||
|
||||
/**
|
||||
* wlan_sap_get_phymode() - Returns sap phymode.
|
||||
* @sap_ctx: Pointer to Sap Context.
|
||||
|
Reference in New Issue
Block a user