Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23301
b: refs/heads/master
c: b10c991
h: refs/heads/master
i:
  23299: 04498bb
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Mar 23, 2006
1 parent 628d7c6 commit 900d375
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f484d582d3e66ad78dcce2465c9ec479bacc1075
refs/heads/master: b10c991fa4cf0f1353228e04671aa793b4b3cf1d
8 changes: 4 additions & 4 deletions trunk/net/ieee80211/softmac/ieee80211softmac_auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,24 +342,24 @@ ieee80211softmac_deauth_req(struct ieee80211softmac_device *mac,
* This should be registered with ieee80211 as handle_deauth
*/
int
ieee80211softmac_deauth_resp(struct net_device *dev, struct ieee80211_auth *auth)
ieee80211softmac_deauth_resp(struct net_device *dev, struct ieee80211_deauth *deauth)
{

struct ieee80211softmac_network *net = NULL;
struct ieee80211softmac_device *mac = ieee80211_priv(dev);

function_enter();

if (!auth) {
if (!deauth) {
dprintk("deauth without deauth packet. eek!\n");
return 0;
}

net = ieee80211softmac_get_network_by_bssid(mac, auth->header.addr2);
net = ieee80211softmac_get_network_by_bssid(mac, deauth->header.addr2);

if (net == NULL) {
printkl(KERN_DEBUG PFX "Received deauthentication packet from "MAC_FMT", but that network is unknown.\n",
MAC_ARG(auth->header.addr2));
MAC_ARG(deauth->header.addr2));
return 0;
}

Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ieee80211/softmac/ieee80211softmac_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ int ieee80211softmac_deauth_req(struct ieee80211softmac_device *mac, struct ieee

/* for use by _module.c to assign to the callbacks */
int ieee80211softmac_auth_resp(struct net_device *dev, struct ieee80211_auth *auth);
int ieee80211softmac_deauth_resp(struct net_device *dev, struct ieee80211_auth *auth);
int ieee80211softmac_deauth_resp(struct net_device *dev, struct ieee80211_deauth *deauth);

/*** prototypes from _assoc.c */
void ieee80211softmac_assoc_work(void *d);
Expand Down

0 comments on commit 900d375

Please sign in to comment.