Search Linux Wireless

[PATCH 1/2] staging: vt6656: vnt_init_bands fix missing default.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The default is that all the channels are enabled for rf types
not mentioned here.

Signed-off-by: Malcolm Priestley <tvboxspy@xxxxxxxxx>
---
 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 5202633..fb1838e 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++) {
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux