qcacmn: Fix unused params in 6Ghz security check APIs
Remove few unused params in 6Ghz security check APIs. Change-Id: I2b88b72d18145d7b537520c30e499ba40c86f5f3 CRs-Fixed: 2820363
This commit is contained in:

committed by
snandini

orang tua
b46ee401e1
melakukan
7a2fd984a7
@@ -1825,8 +1825,7 @@ void wlan_cm_set_check_6ghz_security(struct wlan_objmgr_psoc *psoc,
|
||||
mlme_psoc_obj->psoc_cfg.score_config.check_6ghz_security = value;
|
||||
}
|
||||
|
||||
void wlan_cm_reset_check_6ghz_security(struct wlan_objmgr_psoc *psoc,
|
||||
bool value)
|
||||
void wlan_cm_reset_check_6ghz_security(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
struct psoc_mlme_obj *mlme_psoc_obj;
|
||||
|
||||
@@ -1835,7 +1834,7 @@ void wlan_cm_reset_check_6ghz_security(struct wlan_objmgr_psoc *psoc,
|
||||
return;
|
||||
|
||||
mlme_psoc_obj->psoc_cfg.score_config.check_6ghz_security =
|
||||
cfg_get(psoc ,CFG_CHECK_6GHZ_SECURITY);
|
||||
cfg_get(psoc, CFG_CHECK_6GHZ_SECURITY);
|
||||
}
|
||||
|
||||
bool wlan_cm_get_check_6ghz_security(struct wlan_objmgr_psoc *psoc)
|
||||
|
@@ -743,9 +743,6 @@ static void cm_connect_prepare_scan_filter(struct wlan_objmgr_pdev *pdev,
|
||||
struct scan_filter *filter,
|
||||
bool security_valid_for_6ghz)
|
||||
{
|
||||
struct wlan_objmgr_psoc *psoc;
|
||||
|
||||
psoc = wlan_pdev_get_psoc(pdev);
|
||||
if (!qdf_is_macaddr_zero(&cm_req->req.bssid)) {
|
||||
filter->num_of_bssid = 1;
|
||||
qdf_copy_macaddr(&filter->bssid_list[0], &cm_req->req.bssid);
|
||||
|
@@ -249,12 +249,10 @@ void wlan_cm_set_check_6ghz_security(struct wlan_objmgr_psoc *psoc,
|
||||
* wlan_cm_reset_check_6ghz_security() - reset check 6Ghz security to orignal
|
||||
* value
|
||||
* @psoc: pointer to psoc object
|
||||
* @value: value to be set
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
void wlan_cm_reset_check_6ghz_security(struct wlan_objmgr_psoc *psoc,
|
||||
bool value);
|
||||
void wlan_cm_reset_check_6ghz_security(struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
/**
|
||||
* wlan_cm_get_check_6ghz_security() - Get 6Ghz allowe AKM mask
|
||||
@@ -296,8 +294,7 @@ void wlan_cm_set_check_6ghz_security(struct wlan_objmgr_psoc *psoc,
|
||||
bool value) {}
|
||||
|
||||
static inline
|
||||
void wlan_cm_reset_check_6ghz_security(struct wlan_objmgr_psoc *psoc,
|
||||
bool value) {}
|
||||
void wlan_cm_reset_check_6ghz_security(struct wlan_objmgr_psoc *psoc) {}
|
||||
|
||||
static inline
|
||||
bool wlan_cm_get_check_6ghz_security(struct wlan_objmgr_psoc *psoc)
|
||||
|
Reference in New Issue
Block a user