]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
iwlwifi: cleanup iwl_good_ack_health
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 8 Feb 2011 08:31:57 +0000 (09:31 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 9 Feb 2011 21:09:49 +0000 (16:09 -0500)
commitf266526da4d78b7af639e98777d453888b039c00
treea04b3372200c279c6b37874cbd479e5078fef715
parentca3d9389642946072ed448b2b7386f9e5d3f296b
iwlwifi: cleanup iwl_good_ack_health

Make ack health code easies to read. Compared to previous
code, we do not print debug messages when expected_ack_cnt_delta == 0
and also do check against negative deltas.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c