Browse Source

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
Baila, Shashikala Prabhu 8 years ago
parent
commit
1cc7633792
1 changed files with 2 additions and 2 deletions
  1. 2 2
      umac/regulatory/core/src/reg_services.c

+ 2 - 2
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)