diff options
Diffstat (limited to 'drivers/net/wireless/libertas/cfg.c')
-rw-r--r-- | drivers/net/wireless/libertas/cfg.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/cfg.c b/drivers/net/wireless/libertas/cfg.c index 73c5f54c9b42..a2e88498c096 100644 --- a/drivers/net/wireless/libertas/cfg.c +++ b/drivers/net/wireless/libertas/cfg.c | |||
@@ -1324,7 +1324,8 @@ static int lbs_cfg_connect(struct wiphy *wiphy, struct net_device *dev, | |||
1324 | sme->ssid, sme->ssid_len, | 1324 | sme->ssid, sme->ssid_len, |
1325 | WLAN_CAPABILITY_ESS, WLAN_CAPABILITY_ESS); | 1325 | WLAN_CAPABILITY_ESS, WLAN_CAPABILITY_ESS); |
1326 | if (!bss) { | 1326 | if (!bss) { |
1327 | pr_err("assoc: bss %pM not in scan results\n", sme->bssid); | 1327 | wiphy_err(wiphy, "assoc: bss %pM not in scan results\n", |
1328 | sme->bssid); | ||
1328 | ret = -ENOENT; | 1329 | ret = -ENOENT; |
1329 | goto done; | 1330 | goto done; |
1330 | } | 1331 | } |
@@ -1381,8 +1382,8 @@ static int lbs_cfg_connect(struct wiphy *wiphy, struct net_device *dev, | |||
1381 | lbs_enable_rsn(priv, sme->crypto.cipher_group != 0); | 1382 | lbs_enable_rsn(priv, sme->crypto.cipher_group != 0); |
1382 | break; | 1383 | break; |
1383 | default: | 1384 | default: |
1384 | pr_err("unsupported cipher group 0x%x\n", | 1385 | wiphy_err(wiphy, "unsupported cipher group 0x%x\n", |
1385 | sme->crypto.cipher_group); | 1386 | sme->crypto.cipher_group); |
1386 | ret = -ENOTSUPP; | 1387 | ret = -ENOTSUPP; |
1387 | goto done; | 1388 | goto done; |
1388 | } | 1389 | } |
@@ -1500,7 +1501,7 @@ static int lbs_cfg_add_key(struct wiphy *wiphy, struct net_device *netdev, | |||
1500 | params->key, params->key_len); | 1501 | params->key, params->key_len); |
1501 | break; | 1502 | break; |
1502 | default: | 1503 | default: |
1503 | pr_err("unhandled cipher 0x%x\n", params->cipher); | 1504 | wiphy_err(wiphy, "unhandled cipher 0x%x\n", params->cipher); |
1504 | ret = -ENOTSUPP; | 1505 | ret = -ENOTSUPP; |
1505 | break; | 1506 | break; |
1506 | } | 1507 | } |