staging: rtl8192e: Move definition of RT_RF_CHANGE_SOURCE
authorMike McCormack <mikem@ring3k.org>
Thu, 3 Mar 2011 13:44:28 +0000 (22:44 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 7 Mar 2011 21:31:42 +0000 (13:31 -0800)
Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8192e/ieee80211/ieee80211.h
drivers/staging/rtl8192e/r8192E.h

index f0627b1fd9649b5a0f1d76a9f74c4345a6bcc527..8ebedd0be7757d0dc910920c7178601f3f5ae0ac 100644 (file)
@@ -1825,13 +1825,6 @@ typedef struct _RT_POWER_SAVE_CONTROL
 
 }RT_POWER_SAVE_CONTROL,*PRT_POWER_SAVE_CONTROL;
 
-typedef u32 RT_RF_CHANGE_SOURCE;
-#define RF_CHANGE_BY_SW BIT31
-#define RF_CHANGE_BY_HW BIT30
-#define RF_CHANGE_BY_PS BIT29
-#define RF_CHANGE_BY_IPS BIT28
-#define RF_CHANGE_BY_INIT      0       // Do not change the RFOff reason. Defined by Bruce, 2008-01-17.
-
 #ifdef ENABLE_DOT11D
 typedef enum
 {
index a5c85e5e972e5605a6c7568aa39a8dc36d016cbd..6a6d09578d4b27a79a84a3bae9802f8d2be32175 100644 (file)
@@ -192,6 +192,13 @@ do { if(rt_global_debug_component & component) \
 #define EEPROM_Default_LegacyHTTxPowerDiff     0x4
 #define IEEE80211_WATCH_DOG_TIME    2000
 
+typedef u32 RT_RF_CHANGE_SOURCE;
+#define RF_CHANGE_BY_SW BIT31
+#define RF_CHANGE_BY_HW BIT30
+#define RF_CHANGE_BY_PS BIT29
+#define RF_CHANGE_BY_IPS BIT28
+#define RF_CHANGE_BY_INIT      0       // Do not change the RFOff reason. Defined by Bruce, 2008-01-17.
+
 /* For rtl819x */
 typedef struct _tx_desc_819x_pci {
         //DWORD 0