diff options
author | Sujith Manoharan <Sujith.Manoharan@atheros.com> | 2011-05-17 03:11:31 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-05-19 13:53:59 -0400 |
commit | 84dfa7308ccba190ad7efe655c25ca80793c029e (patch) | |
tree | 3d8ad0e509ee7f1290d42d91291d5983279b17bd /drivers/net/wireless/ath/ath9k/htc_drv_main.c | |
parent | c75197a779b6f5ee4c5b859423a0d5257475ebee (diff) |
ath9k_htc: Fix station flags
The FW does absolutely nothing with the station flags,
so remove them. But keep the field around since it might
come in handy in the future.
Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_main.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_main.c b/drivers/net/wireless/ath/ath9k/htc_drv_main.c index 6065c2fc97f..b1b86135b63 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c | |||
@@ -502,9 +502,6 @@ static int ath9k_htc_add_station(struct ath9k_htc_priv *priv, | |||
502 | tsta.maxampdu = cpu_to_be16(maxampdu); | 502 | tsta.maxampdu = cpu_to_be16(maxampdu); |
503 | } | 503 | } |
504 | 504 | ||
505 | if (sta && sta->ht_cap.ht_supported) | ||
506 | tsta.flags = cpu_to_be16(ATH_HTC_STA_HT); | ||
507 | |||
508 | WMI_CMD_BUF(WMI_NODE_CREATE_CMDID, &tsta); | 505 | WMI_CMD_BUF(WMI_NODE_CREATE_CMDID, &tsta); |
509 | if (ret) { | 506 | if (ret) { |
510 | if (sta) | 507 | if (sta) |