aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/assoc.c
diff options
context:
space:
mode:
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));