From: Malcolm Priestley Date: Fri, 11 Jul 2014 19:02:17 +0000 (+0100) Subject: staging: vt6656: vnt_init_bands fix missing default. X-Git-Tag: v3.17-rc1~123^2~912 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b63d6ed6ca857d9aac6e93635c9fc42656cd0c44;p=karo-tx-linux.git staging: vt6656: vnt_init_bands fix missing default. The default is that all the channels are enabled for rf types not mentioned here. Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/channel.c b/drivers/staging/vt6656/channel.c index 5202633f752f..fb1838e9b292 100644 --- a/drivers/staging/vt6656/channel.c +++ b/drivers/staging/vt6656/channel.c @@ -148,6 +148,7 @@ void vnt_init_bands(struct vnt_private *priv) switch (priv->byRFType) { case RF_AIROHA7230: case RF_VT3342A0: + default: ch = vnt_channels_5ghz; for (i = 0; i < ARRAY_SIZE(vnt_channels_5ghz); i++) {