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 3816429..9d58b23 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 8bb56f2..2abf4bb 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__ */