]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ath5k: Include tx ack reporting on hw flags
authorNick Kossifidis <mickflemm@gmail.com>
Fri, 3 Dec 2010 04:12:39 +0000 (06:12 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Dec 2010 21:01:28 +0000 (16:01 -0500)
 * 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>
drivers/net/wireless/ath/ath5k/base.c

index 0592773ed81a9cc1b48143552a2e9672a970ec42..380ff2f5f1d02bdf6a15c244c794f97d5c9c3b90 100644 (file)
@@ -2341,8 +2341,9 @@ ath5k_init_softc(struct ath5k_softc *sc, const struct ath_bus_ops *bus_ops)
        /* Initialize driver private data */
        SET_IEEE80211_DEV(hw, sc->dev);
        hw->flags = IEEE80211_HW_RX_INCLUDES_FCS |
-                   IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING |
-                   IEEE80211_HW_SIGNAL_DBM;
+                       IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING |
+                       IEEE80211_HW_SIGNAL_DBM |
+                       IEEE80211_HW_REPORTS_TX_ACK_STATUS;
 
        hw->wiphy->interface_modes =
                BIT(NL80211_IFTYPE_AP) |