From b63d6ed6ca857d9aac6e93635c9fc42656cd0c44 Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Fri, 11 Jul 2014 20:02:17 +0100 Subject: [PATCH] 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 --- drivers/staging/vt6656/channel.c | 1 + 1 file changed, 1 insertion(+) 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++) { -- 2.34.1