qcacmn: Add support to get min and max bw of chan enum
Add support to get min and max band width of provided channel enum, so that configured bandwidth can be validated whether it lies in the range of bandwidth or not. Change-Id: I765b4e8013d021eaca41b37789d1ef3f1d57fa7d CRs-Fixed: 3402928
Este commit está contenido en:

cometido por
Madan Koyyalamudi

padre
94461d8894
commit
7453254a0c
@@ -660,8 +660,10 @@ void wlan_scan_get_last_scan_ageout_time(struct wlan_objmgr_psoc *psoc,
|
||||
struct wlan_scan_obj *scan_obj;
|
||||
|
||||
scan_obj = wlan_psoc_get_scan_obj(psoc);
|
||||
if (!scan_obj)
|
||||
if (!scan_obj) {
|
||||
*last_scan_ageout_time = 0;
|
||||
return;
|
||||
}
|
||||
*last_scan_ageout_time =
|
||||
scan_obj->scan_def.last_scan_ageout_time;
|
||||
}
|
||||
|
Referencia en una nueva incidencia
Block a user