aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271_main.c
diff options
context:
space:
mode:
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>2010-03-26 06:53:12 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-03-31 14:39:11 -0400
commit31627dc59b4a87c4198b4245a7de1b8ccf4424fa (patch)
treea7ded2c4c2b539cf672fa1d75b5feda07a36a597 /drivers/net/wireless/wl12xx/wl1271_main.c
parentf876bb9aafc71d8ea395eec99666faaffec5df49 (diff)
wl1271: Add TX rate reporting
Add reporting of the used TX rate to mac80211 in the tx_status. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Kalle Valo <kalle.valo@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_main.c')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_main.c b/drivers/net/wireless/wl12xx/wl1271_main.c
index 49779e588e3..86450304825 100644
--- a/drivers/net/wireless/wl12xx/wl1271_main.c
+++ b/drivers/net/wireless/wl12xx/wl1271_main.c
@@ -2127,6 +2127,7 @@ int wl1271_init_ieee80211(struct wl1271 *wl)
2127 wl->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = &wl1271_band_5ghz; 2127 wl->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = &wl1271_band_5ghz;
2128 2128
2129 wl->hw->queues = 4; 2129 wl->hw->queues = 4;
2130 wl->hw->max_rates = 1;
2130 2131
2131 SET_IEEE80211_DEV(wl->hw, wl1271_wl_to_dev(wl)); 2132 SET_IEEE80211_DEV(wl->hw, wl1271_wl_to_dev(wl));
2132 2133