From 763f8beda253f3e292fb7654337bc3a339dbb916 Mon Sep 17 00:00:00 2001 From: Ananya Barat Date: Mon, 30 Dec 2019 11:08:54 +0530 Subject: [PATCH] qcacmn: Reverting type of channel number variables in ch_params The variables center_freq_seg0 and center_freq_seg1 in struct ch_params are used to represent channel numbers. Their types were wrongly changed to qdf_freq_t in change ID e205befb82f643808973286ae578d7add7738eec. Change their type back to uint8_t. Change-Id: I13c629850bf207c6088b44c8695167e96dc33476 --- umac/regulatory/dispatcher/inc/reg_services_public_struct.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/umac/regulatory/dispatcher/inc/reg_services_public_struct.h b/umac/regulatory/dispatcher/inc/reg_services_public_struct.h index 2617cd8484c7..1ee124461e67 100644 --- a/umac/regulatory/dispatcher/inc/reg_services_public_struct.h +++ b/umac/regulatory/dispatcher/inc/reg_services_public_struct.h @@ -528,8 +528,8 @@ enum ctl_value { struct ch_params { enum phy_ch_width ch_width; uint8_t sec_ch_offset; - qdf_freq_t center_freq_seg0; - qdf_freq_t center_freq_seg1; + uint8_t center_freq_seg0; + uint8_t center_freq_seg1; qdf_freq_t mhz_freq_seg0; qdf_freq_t mhz_freq_seg1; };