aboutsummaryrefslogtreecommitdiffstats
path: root/net/ieee80211/softmac/ieee80211softmac_assoc.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-04-20 17:36:10 -0400
committerJeff Garzik <jeff@garzik.org>2006-04-20 17:36:10 -0400
commitf18b95c3e2ab0f75b23a5aabab0bc8f99bd6bbf3 (patch)
tree9ff4b7efdb2ca1e83c2a413f06268b268098b3ca /net/ieee80211/softmac/ieee80211softmac_assoc.c
parent17c281ab3e33be63693687d3db7ac9cf2bbdfd66 (diff)
parent848ef8555296f25d9226d3bc43ce4028835ed633 (diff)
Merge branch 'upstream-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
Diffstat (limited to 'net/ieee80211/softmac/ieee80211softmac_assoc.c')
-rw-r--r--net/ieee80211/softmac/ieee80211softmac_assoc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_assoc.c b/net/ieee80211/softmac/ieee80211softmac_assoc.c
index be61de78dfa4..4498023841dc 100644
--- a/net/ieee80211/softmac/ieee80211softmac_assoc.c
+++ b/net/ieee80211/softmac/ieee80211softmac_assoc.c
@@ -101,6 +101,7 @@ ieee80211softmac_disassoc(struct ieee80211softmac_device *mac, u16 reason)
101 /* Do NOT clear bssvalid as that will break ieee80211softmac_assoc_work! */ 101 /* Do NOT clear bssvalid as that will break ieee80211softmac_assoc_work! */
102 mac->associated = 0; 102 mac->associated = 0;
103 mac->associnfo.associating = 0; 103 mac->associnfo.associating = 0;
104 ieee80211softmac_call_events_locked(mac, IEEE80211SOFTMAC_EVENT_DISASSOCIATED, NULL);
104 spin_unlock_irqrestore(&mac->lock, flags); 105 spin_unlock_irqrestore(&mac->lock, flags);
105} 106}
106 107
@@ -373,6 +374,7 @@ ieee80211softmac_handle_disassoc(struct net_device * dev,
373 spin_lock_irqsave(&mac->lock, flags); 374 spin_lock_irqsave(&mac->lock, flags);
374 mac->associnfo.bssvalid = 0; 375 mac->associnfo.bssvalid = 0;
375 mac->associated = 0; 376 mac->associated = 0;
377 ieee80211softmac_call_events_locked(mac, IEEE80211SOFTMAC_EVENT_DISASSOCIATED, NULL);
376 schedule_work(&mac->associnfo.work); 378 schedule_work(&mac->associnfo.work);
377 spin_unlock_irqrestore(&mac->lock, flags); 379 spin_unlock_irqrestore(&mac->lock, flags);
378 380
@@ -391,6 +393,7 @@ ieee80211softmac_handle_reassoc_req(struct net_device * dev,
391 dprintkl(KERN_INFO PFX "reassoc request from unknown network\n"); 393 dprintkl(KERN_INFO PFX "reassoc request from unknown network\n");
392 return 0; 394 return 0;
393 } 395 }
394 ieee80211softmac_assoc(mac, network); 396 schedule_work(&mac->associnfo.work);
397
395 return 0; 398 return 0;
396} 399}