From: Adrian Chadd Date: Sat, 29 Oct 2016 15:48:42 +0000 (-0700) Subject: Merge pull request #106 from olerem/clean-2016.10.15 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=bcccc6c09d4478bd657f138dcad4ea7fe4f55e2f;hp=9df0754a38bb150b15b146ffcd3c6be658986ef0;p=open-ath9k-htc-firmware.git Merge pull request #106 from olerem/clean-2016.10.15 Clean 2016.10.15 --- diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..6be3f2b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +# Copying and distribution of this file, with or without modification, +# are permitted in any medium without royalty provided this notice is +# preserved. This file is offered as-is, without any warranty. +# Names of contributors must not be used to endorse or promote products +# derived from this file without specific prior written permission. + +# EditorConfig +# http://EditorConfig.org + +# top-most EditorConfig file +root = true + +# LF end-of-line, insert an empty new line and UTF-8 +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 + +# Tab indentation +[makefile,Makefile] +indent_style = tab diff --git a/target_firmware/wlan/if_owl.c b/target_firmware/wlan/if_owl.c index da65461..f228069 100755 --- a/target_firmware/wlan/if_owl.c +++ b/target_firmware/wlan/if_owl.c @@ -1023,13 +1023,15 @@ static void ath_update_stats(struct ath_softc_tgt *sc, struct ath_tx_buf *bf) { struct ath_tx_desc *ds = bf->bf_desc; + struct ieee80211_frame *wh = ATH_SKB2_WH(bf->bf_skb); u_int32_t sr, lr; if (ds->ds_txstat.ts_status == 0) { if (ds->ds_txstat.ts_rate & HAL_TXSTAT_ALTRATE) sc->sc_tx_stats.ast_tx_altrate++; } else { - if (ds->ds_txstat.ts_status & HAL_TXERR_XRETRY) + if (ds->ds_txstat.ts_status & HAL_TXERR_XRETRY && + !IEEE80211_IS_MULTICAST(wh->i_addr1)) sc->sc_tx_stats.ast_tx_xretries++; if (ds->ds_txstat.ts_status & HAL_TXERR_FIFO) sc->sc_tx_stats.ast_tx_fifoerr++;