aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/channel.c
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2014-07-11 20:02:17 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-11 17:37:31 -0700
commitb63d6ed6ca857d9aac6e93635c9fc42656cd0c44 (patch)
tree33aa90bec4c95491d6d1c48eb477693fdffd2f4b /drivers/staging/vt6656/channel.c
parentMAINTAINERS: Adds Daeseok Youn to maintainers list for dgap (diff)
downloadlinux-dev-b63d6ed6ca857d9aac6e93635c9fc42656cd0c44.tar.xz
linux-dev-b63d6ed6ca857d9aac6e93635c9fc42656cd0c44.zip
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 <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/channel.c')
-rw-r--r--drivers/staging/vt6656/channel.c1
1 files changed, 1 insertions, 0 deletions
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++) {