]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
DFS: Add forgotten break statement
authorJouni Malinen <j@w1.fi>
Sat, 26 Oct 2013 08:49:46 +0000 (11:49 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 26 Oct 2013 12:55:09 +0000 (15:55 +0300)
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 <j@w1.fi>

src/ap/dfs.c

index 37bbd203cf8a4754fa76e88a12ac6d157a64d737..bc4f24e2fc702a974ffc99461332f7fcec900103 100644 (file)
@@ -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;