iwlwifi: fix debug messages during scanning
authorBill Moss <bmoss@clemson.edu>
Thu, 17 Apr 2008 23:03:40 +0000 (16:03 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 1 May 2008 21:38:24 +0000 (17:38 -0400)
commit786b4557075ae0d8a23e73c316dc4204b41ccb4d
treeb6b5db2d24e4cf643954a564f70da39df7b7a075
parentf52764886540b16e7962bd1d150bd939aec9248c
iwlwifi: fix debug messages during scanning

direct_mask will be set when we are not associated and requesting a
direct scan. The second debug print will be confusing as priv->essid
is not set at that time and it will thus print "<hidden>" while it is
known to which AP a direct scan is requested - as previous debug message
also indicates.

Now make all debugging consistent.

Signed-off-by: Bill Moss <bmoss@clemson.edu>
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
drivers/net/wireless/iwlwifi/iwl4965-base.c