ath9k: Report rx-crc-errors in ethtool stats.
authorBen Greear <greearb@candelatech.com>
Mon, 4 Mar 2013 23:31:17 +0000 (15:31 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 Mar 2013 21:29:03 +0000 (16:29 -0500)
Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/debug.c

index daae4d09a80ad55ad73dfb13c837023fae2418d1..67a2a4b3b8836000ab20700d53d50939c3148ee7 100644 (file)
@@ -1912,6 +1912,7 @@ static const char ath9k_gstrings_stats[][ETH_GSTRING_LEN] = {
        AMKSTR(d_tx_desc_cfg_err),
        AMKSTR(d_tx_data_underrun),
        AMKSTR(d_tx_delim_underrun),
+       "d_rx_crc_err",
        "d_rx_decrypt_crc_err",
        "d_rx_phy_err",
        "d_rx_mic_err",
@@ -1992,6 +1993,7 @@ void ath9k_get_et_stats(struct ieee80211_hw *hw,
        AWDATA(data_underrun);
        AWDATA(delim_underrun);
 
+       AWDATA_RX(crc_err);
        AWDATA_RX(decrypt_crc_err);
        AWDATA_RX(phy_err);
        AWDATA_RX(mic_err);