aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/base.c
diff options
context:
space:
mode:
authorNick Kossifidis <mickflemm@gmail.com>2010-12-02 23:12:39 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-12-06 16:01:28 -0500
commitb9e61f11f47035e3b4545b51fb547fef48eb3096 (patch)
tree4e8b6357ed6287f93c7bda5fa8d502f15c030e4a /drivers/net/wireless/ath/ath5k/base.c
parentf0e134a53ad95ba7a393b299ae56c9bdcaed8aec (diff)
ath5k: Include tx ack reporting on hw flags
* Since we report tx acks to the protocol stack, add the needed flag to hw_flags. This way we'll also use the new AP probing mechanism. Signed-off-by: Nick Kossifidis <mickflemm@gmail.com> Tested-by: Sedat Dilek <sedat.dilek@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/base.c')
-rw-r--r--drivers/net/wireless/ath/ath5k/base.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c
index 0592773ed81a..380ff2f5f1d0 100644
--- a/drivers/net/wireless/ath/ath5k/base.c
+++ b/drivers/net/wireless/ath/ath5k/base.c
@@ -2341,8 +2341,9 @@ ath5k_init_softc(struct ath5k_softc *sc, const struct ath_bus_ops *bus_ops)
2341 /* Initialize driver private data */ 2341 /* Initialize driver private data */
2342 SET_IEEE80211_DEV(hw, sc->dev); 2342 SET_IEEE80211_DEV(hw, sc->dev);
2343 hw->flags = IEEE80211_HW_RX_INCLUDES_FCS | 2343 hw->flags = IEEE80211_HW_RX_INCLUDES_FCS |
2344 IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING | 2344 IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING |
2345 IEEE80211_HW_SIGNAL_DBM; 2345 IEEE80211_HW_SIGNAL_DBM |
2346 IEEE80211_HW_REPORTS_TX_ACK_STATUS;
2346 2347
2347 hw->wiphy->interface_modes = 2348 hw->wiphy->interface_modes =
2348 BIT(NL80211_IFTYPE_AP) | 2349 BIT(NL80211_IFTYPE_AP) |