staging: vt6656: Move double definition of MAX_RATE to device_cfg.h
authorMalcolm Priestley <tvboxspy@gmail.com>
Mon, 9 Dec 2013 23:08:35 +0000 (23:08 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Dec 2013 07:14:26 +0000 (23:14 -0800)
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/datarate.h
drivers/staging/vt6656/device_cfg.h
drivers/staging/vt6656/mib.h

index 43cb778..96252ad 100644 (file)
@@ -52,7 +52,6 @@
 #define RATE_48M       10
 #define RATE_54M       11
 #define RATE_AUTO      12
-#define MAX_RATE       12
 
 void RATEvParseMaxRate(struct vnt_private *, PWLAN_IE_SUPP_RATES pItemRates,
        PWLAN_IE_SUPP_RATES pItemExtRates, int bUpdateBasicRate,
index a97f7bb..0b9d834 100644 (file)
@@ -65,6 +65,8 @@ struct _version {
 #define DEVICE_VERSION       "1.19_12"
 #endif
 
+#define MAX_RATE       12
+
 /* config file */
 #include <linux/fs.h>
 #include <linux/fcntl.h>
index 5616b9a..c342dad 100644 (file)
@@ -222,7 +222,6 @@ typedef struct tagSTxPktInfo {
     u8    abyDestAddr[ETH_ALEN];
 } STxPktInfo, *PSTxPktInfo;
 
-#define MAX_RATE            12
 //
 // statistic counter
 //