From cf85121cc9543abfc5b09ddd7c73fd6df6651a12 Mon Sep 17 00:00:00 2001 From: Gururaj Pandurangi Date: Mon, 22 Nov 2021 10:23:47 -0800 Subject: [PATCH] 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 --- core/mac/src/pe/sch/sch_beacon_process.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/mac/src/pe/sch/sch_beacon_process.c b/core/mac/src/pe/sch/sch_beacon_process.c index 8147797b630a..1a2b0b23e34d 100644 --- a/core/mac/src/pe/sch/sch_beacon_process.c +++ b/core/mac/src/pe/sch/sch_beacon_process.c @@ -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);