From: Jouni Malinen Date: Sat, 26 Oct 2013 08:49:46 +0000 (+0300) Subject: DFS: Add forgotten break statement X-Git-Tag: hostap_2_1~791 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=35f836375d4b0b46ca34a5872ac2c9e931e93340;p=thirdparty%2Fhostap.git 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 --- 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;