[PATCH] Remove duplicated center_freq init
eabinader at ocedo.com
eabinader at ocedo.com
Tue Feb 16 02:16:09 PST 2016
From: Eduardo Abinader <eabinader at ocedo.com>
As the center freq values are adjusted in a proper
function, dfs_adjust_vht_center_freq, just ensure
there is no duplicated code for that.
Signed-off-by: Eduardo Abinader <eabinader at ocedo.com>
---
src/ap/dfs.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/ap/dfs.c b/src/ap/dfs.c
index 7273caa..43f1764 100644
--- a/src/ap/dfs.c
+++ b/src/ap/dfs.c
@@ -434,8 +434,6 @@ dfs_get_valid_channel(struct hostapd_iface *iface,
wpa_printf(MSG_DEBUG, "DFS: Selecting random channel");
*secondary_channel = 0;
- *vht_oper_centr_freq_seg0_idx = 0;
- *vht_oper_centr_freq_seg1_idx = 0;
if (iface->current_mode == NULL)
return NULL;
--
2.5.0
More information about the Hostap
mailing list