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)
commitaf472a953ef23d6b9fe717486974d7caff3fa194
tree673e36ca11f071406c62de64b96f02d60c2f1a0c
parentb57d46aa0db87b6349737e7b110ebe48ee14c143
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