aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/tx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/wl12xx/tx.c')
-rw-r--r--drivers/net/wireless/wl12xx/tx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/tx.c b/drivers/net/wireless/wl12xx/tx.c
index 08227e69616b..b8dbc6d1ff98 100644
--- a/drivers/net/wireless/wl12xx/tx.c
+++ b/drivers/net/wireless/wl12xx/tx.c
@@ -453,7 +453,6 @@ u32 wl1271_tx_enabled_rates_get(struct wl1271 *wl, u32 rate_set)
453 rate_set >>= 1; 453 rate_set >>= 1;
454 } 454 }
455 455
456#ifdef CONFIG_WL12XX_HT
457 /* MCS rates indication are on bits 16 - 23 */ 456 /* MCS rates indication are on bits 16 - 23 */
458 rate_set >>= HW_HT_RATES_OFFSET - band->n_bitrates; 457 rate_set >>= HW_HT_RATES_OFFSET - band->n_bitrates;
459 458
@@ -462,7 +461,6 @@ u32 wl1271_tx_enabled_rates_get(struct wl1271 *wl, u32 rate_set)
462 enabled_rates |= (CONF_HW_BIT_RATE_MCS_0 << bit); 461 enabled_rates |= (CONF_HW_BIT_RATE_MCS_0 << bit);
463 rate_set >>= 1; 462 rate_set >>= 1;
464 } 463 }
465#endif
466 464
467 return enabled_rates; 465 return enabled_rates;
468} 466}