Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf85121c authored by Gururaj Pandurangi's avatar Gururaj Pandurangi Committed by Madan Koyyalamudi
Browse files

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
parent 5f5fb691
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
/*
 * 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);