diff options
Diffstat (limited to 'drivers/net/wireless/libertas/wext.c')
-rw-r--r-- | drivers/net/wireless/libertas/wext.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/wext.c b/drivers/net/wireless/libertas/wext.c index f8036efd7294..0b2103e0af57 100644 --- a/drivers/net/wireless/libertas/wext.c +++ b/drivers/net/wireless/libertas/wext.c | |||
@@ -1160,7 +1160,7 @@ static int wlan_get_encode(struct net_device *dev, | |||
1160 | 1160 | ||
1161 | dwrq->flags |= IW_ENCODE_NOKEY; | 1161 | dwrq->flags |= IW_ENCODE_NOKEY; |
1162 | 1162 | ||
1163 | lbs_deb_wext("key: " MAC_FMT ", keylen %d\n", | 1163 | lbs_deb_wext("key: %02x:%02x:%02x:%02x:%02x:%02x, keylen %d\n", |
1164 | extra[0], extra[1], extra[2], | 1164 | extra[0], extra[1], extra[2], |
1165 | extra[3], extra[4], extra[5], dwrq->length); | 1165 | extra[3], extra[4], extra[5], dwrq->length); |
1166 | 1166 | ||
@@ -1980,13 +1980,14 @@ static int wlan_set_wap(struct net_device *dev, struct iw_request_info *info, | |||
1980 | wlan_adapter *adapter = priv->adapter; | 1980 | wlan_adapter *adapter = priv->adapter; |
1981 | struct assoc_request * assoc_req; | 1981 | struct assoc_request * assoc_req; |
1982 | int ret = 0; | 1982 | int ret = 0; |
1983 | DECLARE_MAC_BUF(mac); | ||
1983 | 1984 | ||
1984 | lbs_deb_enter(LBS_DEB_WEXT); | 1985 | lbs_deb_enter(LBS_DEB_WEXT); |
1985 | 1986 | ||
1986 | if (awrq->sa_family != ARPHRD_ETHER) | 1987 | if (awrq->sa_family != ARPHRD_ETHER) |
1987 | return -EINVAL; | 1988 | return -EINVAL; |
1988 | 1989 | ||
1989 | lbs_deb_wext("ASSOC: WAP: sa_data " MAC_FMT "\n", MAC_ARG(awrq->sa_data)); | 1990 | lbs_deb_wext("ASSOC: WAP: sa_data %s\n", print_mac(mac, awrq->sa_data)); |
1990 | 1991 | ||
1991 | mutex_lock(&adapter->lock); | 1992 | mutex_lock(&adapter->lock); |
1992 | 1993 | ||