diff options
-rw-r--r-- | net/ieee80211/softmac/ieee80211softmac_auth.c | 8 | ||||
-rw-r--r-- | net/ieee80211/softmac/ieee80211softmac_priv.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_auth.c b/net/ieee80211/softmac/ieee80211softmac_auth.c index dd5fb0f34628..ac09e0c836ee 100644 --- a/net/ieee80211/softmac/ieee80211softmac_auth.c +++ b/net/ieee80211/softmac/ieee80211softmac_auth.c | |||
@@ -342,7 +342,7 @@ ieee80211softmac_deauth_req(struct ieee80211softmac_device *mac, | |||
342 | * This should be registered with ieee80211 as handle_deauth | 342 | * This should be registered with ieee80211 as handle_deauth |
343 | */ | 343 | */ |
344 | int | 344 | int |
345 | ieee80211softmac_deauth_resp(struct net_device *dev, struct ieee80211_auth *auth) | 345 | ieee80211softmac_deauth_resp(struct net_device *dev, struct ieee80211_deauth *deauth) |
346 | { | 346 | { |
347 | 347 | ||
348 | struct ieee80211softmac_network *net = NULL; | 348 | struct ieee80211softmac_network *net = NULL; |
@@ -350,16 +350,16 @@ ieee80211softmac_deauth_resp(struct net_device *dev, struct ieee80211_auth *auth | |||
350 | 350 | ||
351 | function_enter(); | 351 | function_enter(); |
352 | 352 | ||
353 | if (!auth) { | 353 | if (!deauth) { |
354 | dprintk("deauth without deauth packet. eek!\n"); | 354 | dprintk("deauth without deauth packet. eek!\n"); |
355 | return 0; | 355 | return 0; |
356 | } | 356 | } |
357 | 357 | ||
358 | net = ieee80211softmac_get_network_by_bssid(mac, auth->header.addr2); | 358 | net = ieee80211softmac_get_network_by_bssid(mac, deauth->header.addr2); |
359 | 359 | ||
360 | if (net == NULL) { | 360 | if (net == NULL) { |
361 | printkl(KERN_DEBUG PFX "Received deauthentication packet from "MAC_FMT", but that network is unknown.\n", | 361 | printkl(KERN_DEBUG PFX "Received deauthentication packet from "MAC_FMT", but that network is unknown.\n", |
362 | MAC_ARG(auth->header.addr2)); | 362 | MAC_ARG(deauth->header.addr2)); |
363 | return 0; | 363 | return 0; |
364 | } | 364 | } |
365 | 365 | ||
diff --git a/net/ieee80211/softmac/ieee80211softmac_priv.h b/net/ieee80211/softmac/ieee80211softmac_priv.h index 0b35a2dbbf70..db0017ac29ea 100644 --- a/net/ieee80211/softmac/ieee80211softmac_priv.h +++ b/net/ieee80211/softmac/ieee80211softmac_priv.h | |||
@@ -147,7 +147,7 @@ int ieee80211softmac_deauth_req(struct ieee80211softmac_device *mac, struct ieee | |||
147 | 147 | ||
148 | /* for use by _module.c to assign to the callbacks */ | 148 | /* for use by _module.c to assign to the callbacks */ |
149 | int ieee80211softmac_auth_resp(struct net_device *dev, struct ieee80211_auth *auth); | 149 | int ieee80211softmac_auth_resp(struct net_device *dev, struct ieee80211_auth *auth); |
150 | int ieee80211softmac_deauth_resp(struct net_device *dev, struct ieee80211_auth *auth); | 150 | int ieee80211softmac_deauth_resp(struct net_device *dev, struct ieee80211_deauth *deauth); |
151 | 151 | ||
152 | /*** prototypes from _assoc.c */ | 152 | /*** prototypes from _assoc.c */ |
153 | void ieee80211softmac_assoc_work(void *d); | 153 | void ieee80211softmac_assoc_work(void *d); |