Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122466
b: refs/heads/master
c: e327b84
h: refs/heads/master
v: v3
  • Loading branch information
John W. Linville committed Dec 5, 2008
1 parent af8f4b5 commit 6de4892
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: 04adf890667050b83a58abaf63610e53a604261b
refs/heads/master: e327b847e67051ece8d121f9aebeb4d736c36a02
6 changes: 5 additions & 1 deletion trunk/net/mac80211/iface.c
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,11 @@ static int ieee80211_stop(struct net_device *dev)
break;
case NL80211_IFTYPE_STATION:
case NL80211_IFTYPE_ADHOC:
sdata->u.sta.state = IEEE80211_STA_MLME_DISABLED;
/* Announce that we are leaving the network. */
if (sdata->u.sta.state != IEEE80211_STA_MLME_DISABLED)
ieee80211_sta_deauthenticate(sdata,
WLAN_REASON_DEAUTH_LEAVING);

memset(sdata->u.sta.bssid, 0, ETH_ALEN);
del_timer_sync(&sdata->u.sta.timer);
/*
Expand Down

0 comments on commit 6de4892

Please sign in to comment.