iwlwifi: move iwl_rxon_context_id to user
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 25 Mar 2012 20:01:28 +0000 (22:01 +0200)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Wed, 18 Apr 2012 14:32:42 +0000 (07:32 -0700)
It can be moved to iwl-dev.h since it is op_mode specific.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl-shared.h

index 3816429cdbd4d627e8a7e01fbce5682ec0a42907..9d58b2384de2526f4c7ce874a3675ef0e0c348f5 100644 (file)
@@ -604,6 +604,13 @@ struct iwl_rf_reset {
        unsigned long last_reset_jiffies;
 };
 
+enum iwl_rxon_context_id {
+       IWL_RXON_CTX_BSS,
+       IWL_RXON_CTX_PAN,
+
+       NUM_IWL_RXON_CTX
+};
+
 /* extend beacon time format bit shifting  */
 /*
  * for _agn devices
index 8bb56f2b6152f7ceaa588a50e3f83adaca4961e0..2abf4bb6fa184d5f72c6436dc7ebd656a5bda81f 100644 (file)
@@ -126,11 +126,4 @@ static inline bool iwl_have_debug_level(u32 level)
        return iwlagn_mod_params.debug_level & level;
 }
 
-enum iwl_rxon_context_id {
-       IWL_RXON_CTX_BSS,
-       IWL_RXON_CTX_PAN,
-
-       NUM_IWL_RXON_CTX
-};
-
 #endif /* #__iwl_shared_h__ */