]> git.baikalelectronics.ru Git - kernel.git/commit
iwl3945: reduce debug noise when default debug flags used
authorReinette Chatre <reinette.chatre@intel.com>
Fri, 28 Aug 2009 16:58:50 +0000 (09:58 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 31 Aug 2009 18:42:11 +0000 (14:42 -0400)
commitc5af7cd0b0314be440c4d8f440df508af078688c
tree673e36ca11f071406c62de64b96f02d60c2f1a0c
parent9ddd177b61b77d5a2827d3c60a5dfd9bc8be5327
iwl3945: reduce debug noise when default debug flags used

Significant literature suggests users use debug flags 0x43fff - this causes
the debug flags to be set that causes information to be printed for every
received frame - including beacons. In the best case it fills up the logs,
at worst it slows driver down and causes failures due to timeouts.

In the RX handler, print debugging only if user requested RX debugging.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c