aboutsummaryrefslogtreecommitdiffstats
path: root/net/ieee80211/softmac/ieee80211softmac_auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ieee80211/softmac/ieee80211softmac_auth.c')
-rw-r--r--net/ieee80211/softmac/ieee80211softmac_auth.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_auth.c b/net/ieee80211/softmac/ieee80211softmac_auth.c
index 4cef39e171d0..95e5287e12bb 100644
--- a/net/ieee80211/softmac/ieee80211softmac_auth.c
+++ b/net/ieee80211/softmac/ieee80211softmac_auth.c
@@ -158,7 +158,7 @@ ieee80211softmac_auth_resp(struct net_device *dev, struct ieee80211_auth *auth)
158 /* Make sure that we've got an auth queue item for this request */ 158 /* Make sure that we've got an auth queue item for this request */
159 if(aq == NULL) 159 if(aq == NULL)
160 { 160 {
161 printkl(KERN_DEBUG PFX "Authentication response received from "MAC_FMT" but no queue item exists.\n", MAC_ARG(auth->header.addr2)); 161 dprintkl(KERN_DEBUG PFX "Authentication response received from "MAC_FMT" but no queue item exists.\n", MAC_ARG(auth->header.addr2));
162 /* Error #? */ 162 /* Error #? */
163 return -1; 163 return -1;
164 } 164 }
@@ -166,7 +166,7 @@ ieee80211softmac_auth_resp(struct net_device *dev, struct ieee80211_auth *auth)
166 /* Check for out of order authentication */ 166 /* Check for out of order authentication */
167 if(!net->authenticating) 167 if(!net->authenticating)
168 { 168 {
169 printkl(KERN_DEBUG PFX "Authentication response received from "MAC_FMT" but did not request authentication.\n",MAC_ARG(auth->header.addr2)); 169 dprintkl(KERN_DEBUG PFX "Authentication response received from "MAC_FMT" but did not request authentication.\n",MAC_ARG(auth->header.addr2));
170 return -1; 170 return -1;
171 } 171 }
172 172
@@ -342,7 +342,7 @@ ieee80211softmac_deauth_req(struct ieee80211softmac_device *mac,
342 /* Make sure the network is authenticated */ 342 /* Make sure the network is authenticated */
343 if (!net->authenticated) 343 if (!net->authenticated)
344 { 344 {
345 printkl(KERN_DEBUG PFX "Can't send deauthentication packet, network is not authenticated.\n"); 345 dprintkl(KERN_DEBUG PFX "Can't send deauthentication packet, network is not authenticated.\n");
346 /* Error okay? */ 346 /* Error okay? */
347 return -EPERM; 347 return -EPERM;
348 } 348 }
@@ -376,7 +376,7 @@ ieee80211softmac_deauth_resp(struct net_device *dev, struct ieee80211_deauth *de
376 net = ieee80211softmac_get_network_by_bssid(mac, deauth->header.addr2); 376 net = ieee80211softmac_get_network_by_bssid(mac, deauth->header.addr2);
377 377
378 if (net == NULL) { 378 if (net == NULL) {
379 printkl(KERN_DEBUG PFX "Received deauthentication packet from "MAC_FMT", but that network is unknown.\n", 379 dprintkl(KERN_DEBUG PFX "Received deauthentication packet from "MAC_FMT", but that network is unknown.\n",
380 MAC_ARG(deauth->header.addr2)); 380 MAC_ARG(deauth->header.addr2));
381 return 0; 381 return 0;
382 } 382 }
@@ -384,7 +384,7 @@ ieee80211softmac_deauth_resp(struct net_device *dev, struct ieee80211_deauth *de
384 /* Make sure the network is authenticated */ 384 /* Make sure the network is authenticated */
385 if(!net->authenticated) 385 if(!net->authenticated)
386 { 386 {
387 printkl(KERN_DEBUG PFX "Can't perform deauthentication, network is not authenticated.\n"); 387 dprintkl(KERN_DEBUG PFX "Can't perform deauthentication, network is not authenticated.\n");
388 /* Error okay? */ 388 /* Error okay? */
389 return -EPERM; 389 return -EPERM;
390 } 390 }