[PATCH] softmac: try to reassociate when being disassociated from the AP
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
2dd50801b3
commit
d1469cf2c7
1 changed files with 1 additions and 0 deletions
|
@ -350,6 +350,7 @@ ieee80211softmac_handle_disassoc(struct net_device * dev,
|
||||||
spin_lock_irqsave(&mac->lock, flags);
|
spin_lock_irqsave(&mac->lock, flags);
|
||||||
mac->associnfo.bssvalid = 0;
|
mac->associnfo.bssvalid = 0;
|
||||||
mac->associated = 0;
|
mac->associated = 0;
|
||||||
|
schedule_work(&mac->associnfo.work);
|
||||||
spin_unlock_irqrestore(&mac->lock, flags);
|
spin_unlock_irqrestore(&mac->lock, flags);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue