diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-11-30 21:41:22 +0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-12-09 03:54:07 +0400 |
commit | 7f62cd17e0ed90f8a1e9fbbb6480fa48ebc4c0a6 (patch) | |
tree | e8aa3033a9e5bcd70566565b1e9ca89cb4f3542f /drivers/net/wireless/iwlwifi/iwl-agn-sta.c | |
parent | d332f591daca5f5301782bad69f94e160b5fa665 (diff) | |
download | linux-7f62cd17e0ed90f8a1e9fbbb6480fa48ebc4c0a6.tar.xz |
iwlwifi: minor cleanup
Remove the defines only used by legacy devices
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-sta.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-sta.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-sta.c b/drivers/net/wireless/iwlwifi/iwl-agn-sta.c index 626ed701100e..63d948d21c04 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-sta.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-sta.c @@ -135,8 +135,8 @@ static u16 iwlagn_build_addsta_hcmd(const struct iwl_addsta_cmd *cmd, u8 *data) u16 size = (u16)sizeof(struct iwl_addsta_cmd); struct iwl_addsta_cmd *addsta = (struct iwl_addsta_cmd *)data; memcpy(addsta, cmd, size); - /* resrved in 5000 */ - addsta->rate_n_flags = cpu_to_le16(0); + /* resrved in agn */ + addsta->legacy_reserved = cpu_to_le16(0); return size; } |