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 43cb77894b66daa0203df4c666c2a028f214c69c..96252adf1ea62e78c1302db67b3dab64e38c9c7d 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 a97f7bb13db8dc8050c566182e923f43c48ced7d..0b9d8349c2e4fb59fb16fad0cbbd71c32692f47e 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 5616b9a19735ca12e430413806b00f04f9703127..c342dadf25469889a4c69f3c02d5c3f1ad244b36 100644 (file)
@@ -222,7 +222,6 @@ typedef struct tagSTxPktInfo {
     u8    abyDestAddr[ETH_ALEN];
 } STxPktInfo, *PSTxPktInfo;
 
-#define MAX_RATE            12
 //
 // statistic counter
 //