aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/assoc.c
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2007-11-28 08:05:02 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:04:55 -0500
commit91843463bc4ca5eb2be4b8b5c5efd474e0c56283 (patch)
tree7bebd9e0d8a4bc78b896ecb317daf4725708d742 /drivers/net/wireless/libertas/assoc.c
parent3a1886491710c196656a005fcc693172f5bb4c8a (diff)
libertas: tweak association debug output
Change debug output codes from LBS_DEB_JOIN to LBS_DEB_ASSOC Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de Acked-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/assoc.c')
-rw-r--r--drivers/net/wireless/libertas/assoc.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/net/wireless/libertas/assoc.c b/drivers/net/wireless/libertas/assoc.c
index b529e54151d6..88da68ee0f02 100644
--- a/drivers/net/wireless/libertas/assoc.c
+++ b/drivers/net/wireless/libertas/assoc.c
@@ -638,20 +638,19 @@ void lbs_association_worker(struct work_struct *work)
638 638
639 ret = assoc_helper_associate(priv, assoc_req); 639 ret = assoc_helper_associate(priv, assoc_req);
640 if (ret) { 640 if (ret) {
641 lbs_deb_assoc("ASSOC: association attempt unsuccessful: %d\n", 641 lbs_deb_assoc("ASSOC: association unsuccessful: %d\n",
642 ret); 642 ret);
643 success = 0; 643 success = 0;
644 } 644 }
645 645
646 if (adapter->connect_status != LBS_CONNECTED) { 646 if (adapter->connect_status != LBS_CONNECTED) {
647 lbs_deb_assoc("ASSOC: association attempt unsuccessful, " 647 lbs_deb_assoc("ASSOC: association unsuccessful, "
648 "not connected.\n"); 648 "not connected\n");
649 success = 0; 649 success = 0;
650 } 650 }
651 651
652 if (success) { 652 if (success) {
653 lbs_deb_assoc("ASSOC: association attempt successful. " 653 lbs_deb_assoc("ASSOC: associated to '%s', %s\n",
654 "Associated to '%s' (%s)\n",
655 escape_essid(adapter->curbssparams.ssid, 654 escape_essid(adapter->curbssparams.ssid,
656 adapter->curbssparams.ssid_len), 655 adapter->curbssparams.ssid_len),
657 print_mac(mac, adapter->curbssparams.bssid)); 656 print_mac(mac, adapter->curbssparams.bssid));