• Felix Fietkau's avatar
    ath9k: fix tx status reporting · 0f77b958
    Felix Fietkau authored
    This is a backport of upstream commit: e8c6342d989e241513baeba4b05a04b6b1f3bc8b
    
    This patch fixes a bug in ath9k's tx status check, which
    caused mac80211 to consider regularly transmitted unicast frames
    as un-acked.
    
    When checking the ts_status field for errors, it needs to be masked
    with ATH9K_TXERR_FILT, because this field also contains other fields
    like ATH9K_TX_ACKED.
    
    Without this patch, AP mode is pretty much unusable, as hostapd
    checks the ACK status for the frames that it injects.
    Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
    Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    0f77b958
xmit.c 56.7 KB