]> git.karo-electronics.de Git - linux-beck.git/commitdiff
iwlwifi: fix rx signal quality reporting in dmesg
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 17 Jul 2009 16:30:15 +0000 (09:30 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Jul 2009 19:05:24 +0000 (15:05 -0400)
Fix quality incorrectly reported as signal strength value.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-rx.c

index 66fe365dd08ae0e0c1d6f9f7840b511f6845fab5..fc7edd1d34dc9e2ecc8a5ab5b58ab3ed756e3901 100644 (file)
@@ -1065,7 +1065,7 @@ void iwl_rx_reply_rx(struct iwl_priv *priv,
                iwl_dbg_report_frame(priv, rx_start, len, header, 1);
 #endif
        IWL_DEBUG_STATS_LIMIT(priv, "Rssi %d, noise %d, qual %d, TSF %llu\n",
-               rx_status.signal, rx_status.noise, rx_status.signal,
+               rx_status.signal, rx_status.noise, rx_status.qual,
                (unsigned long long)rx_status.mactime);
 
        /*