From 35f836375d4b0b46ca34a5872ac2c9e931e93340 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 26 Oct 2013 11:49:46 +0300 Subject: [PATCH] DFS: Add forgotten break statement The VHT_CHANWIDTH_160MHZ case fell through to the default case and printed out a debug message that was not supposed to be shown here. Signed-hostap: Jouni Malinen --- src/ap/dfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ap/dfs.c b/src/ap/dfs.c index 37bbd203c..bc4f24e2f 100644 --- a/src/ap/dfs.c +++ b/src/ap/dfs.c @@ -138,6 +138,7 @@ static void dfs_adjust_vht_center_freq(struct hostapd_data *hapd, case VHT_CHANWIDTH_160MHZ: hapd->iconf->vht_oper_centr_freq_seg0_idx = chan->chan + 14; + break; default: wpa_printf(MSG_INFO, "DFS only VHT20/40/80/160 is supported now"); break;