From 1cc7633792b6a2cf8873b341c8452e687bc262e8 Mon Sep 17 00:00:00 2001 From: "Baila, Shashikala Prabhu" Date: Thu, 20 Apr 2017 18:48:35 +0530 Subject: [PATCH] qcacmn: regdb: HT40+ and HT40- is fixed for 2GHz For 2GHz HT40+/HT40- band width reg_get_2g_bonded_channel_state function always returns the state as invalid due to function argument mismatch. Change-Id: Ida04339fcaf680807aa425b3f28c627baa317b02 CRs-Fixed: 2002892 --- umac/regulatory/core/src/reg_services.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/umac/regulatory/core/src/reg_services.c b/umac/regulatory/core/src/reg_services.c index 8c4dfbbb2d5e..7fc2c21f2c4f 100644 --- a/umac/regulatory/core/src/reg_services.c +++ b/umac/regulatory/core/src/reg_services.c @@ -760,8 +760,8 @@ static void reg_set_2g_channel_params(struct wlan_objmgr_pdev *pdev, while (ch_params->ch_width != CH_WIDTH_INVALID) { chan_state = reg_get_2g_bonded_channel_state(pdev, oper_ch, - ch_params->ch_width, - sec_ch_2g); + sec_ch_2g, + ch_params->ch_width); if (CHANNEL_STATE_ENABLE == chan_state) { if (CH_WIDTH_40MHZ == ch_params->ch_width) { if (oper_ch < sec_ch_2g)