qcacld-3.0: Add psoc ptr arg in get 6G power type for ctry API

Pass psoc ptr as argument in addition to existing args in
wlan_reg_get_6g_power_type_for_ctry API to support new APIs
like wlan_cm_get_check_6ghz_security that are invoked within.

Change-Id: I9615c5d2cb509a0c9f8e10073c0928ab38f179f8
CRs-Fixed: 3080203
This commit is contained in:
Gururaj Pandurangi 2021-11-22 10:23:47 -08:00 committed by Madan Koyyalamudi
parent 5f5fb691fa
commit cf85121cc9

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021-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
@ -760,7 +761,7 @@ static void __sch_beacon_process_for_session(struct mac_context *mac_ctx,
}
wlan_reg_read_current_country(mac_ctx->psoc,
programmed_country);
status = wlan_reg_get_6g_power_type_for_ctry(
status = wlan_reg_get_6g_power_type_for_ctry(mac_ctx->psoc,
bcn->countryInfoParam.countryString,
programmed_country, &pwr_type_6g,
&ctry_code_match);