iwlagn: remove 5000 from rxon_assoc structure
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Tue, 19 Apr 2011 23:52:58 +0000 (16:52 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Sat, 30 Apr 2011 15:39:53 +0000 (08:39 -0700)
The data structure is shared by all _agn devices, remove the reference to 5000

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
drivers/net/wireless/iwlwifi/iwl-commands.h

index aba5bc9..7f52ab8 100644 (file)
@@ -125,7 +125,7 @@ static int iwlagn_send_rxon_assoc(struct iwl_priv *priv,
                           struct iwl_rxon_context *ctx)
 {
        int ret = 0;
-       struct iwl5000_rxon_assoc_cmd rxon_assoc;
+       struct iwl_rxon_assoc_cmd rxon_assoc;
        const struct iwl_rxon_cmd *rxon1 = &ctx->staging;
        const struct iwl_rxon_cmd *rxon2 = &ctx->active;
 
index e125896..5fdad65 100644 (file)
@@ -661,7 +661,7 @@ struct iwl_rxon_cmd {
 /*
  * REPLY_RXON_ASSOC = 0x11 (command, has simple generic response)
  */
-struct iwl5000_rxon_assoc_cmd {
+struct iwl_rxon_assoc_cmd {
        __le32 flags;
        __le32 filter_flags;
        u8 ofdm_basic_rates;