mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacmn: Initialize postNOL width to invalid
Initialize postNOL width to CHWIDTH_INVALID instead of 0 which is mapped to CHWIDTH_20MHZ to avoid channel changes to HT20 mode after NOL. Change-Id: I684f38ddb0dc76cccfede74bd6424162407b378f
This commit is contained in:
parent
af66f9907d
commit
ee9ca002f1
1 changed files with 12 additions and 0 deletions
|
|
@ -206,6 +206,17 @@ int dfs_create_object(struct wlan_dfs **dfs)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#if defined(QCA_SUPPORT_DFS_CHAN_POSTNOL)
|
||||
static void dfs_postnol_attach(struct wlan_dfs *dfs)
|
||||
{
|
||||
dfs->dfs_chan_postnol_mode = CH_WIDTH_INVALID;
|
||||
}
|
||||
#else
|
||||
static inline void dfs_postnol_attach(struct wlan_dfs *dfs)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
int dfs_attach(struct wlan_dfs *dfs)
|
||||
{
|
||||
int ret;
|
||||
|
|
@ -229,6 +240,7 @@ int dfs_attach(struct wlan_dfs *dfs)
|
|||
dfs_cac_timer_attach(dfs);
|
||||
dfs_zero_cac_attach(dfs);
|
||||
dfs_nol_attach(dfs);
|
||||
dfs_postnol_attach(dfs);
|
||||
|
||||
/*
|
||||
* Init of timer ,dfs_testtimer_task is required by both partial
|
||||
|
|
|
|||
Loading…
Reference in a new issue