OSDN Git Service

staging: vt6656: vnt_init_bands fix missing default.
authorMalcolm Priestley <tvboxspy@gmail.com>
Fri, 11 Jul 2014 19:02:17 +0000 (20:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jul 2014 00:37:31 +0000 (17:37 -0700)
The default is that all the channels are enabled for rf types
not mentioned here.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/channel.c

index 5202633..fb1838e 100644 (file)
@@ -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++) {