Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23328
b: refs/heads/master
c: 4edac92
h: refs/heads/master
v: v3
  • Loading branch information
David Woodhouse authored and John W. Linville committed Mar 23, 2006
1 parent 7a2547e commit dd9be2a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9320199957cebc39ccef372fa1fccf5ba3d3fd7d
refs/heads/master: 4edac92fcf5956b0ef52fb281207863902e430bc
7 changes: 7 additions & 0 deletions trunk/net/ieee80211/softmac/ieee80211softmac_scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,13 @@ void ieee80211softmac_scan_finished(struct ieee80211softmac_device *sm)
sm->scanning = 0;
spin_unlock_irqrestore(&sm->lock, flags);

if (sm->associnfo.bssvalid) {
struct ieee80211softmac_network *net;

net = ieee80211softmac_get_network_by_bssid(sm, sm->associnfo.bssid);
if (net)
sm->set_channel(sm->dev, net->channel);
}
ieee80211softmac_call_events(sm, IEEE80211SOFTMAC_EVENT_SCAN_FINISHED, NULL);
}
EXPORT_SYMBOL_GPL(ieee80211softmac_scan_finished);

0 comments on commit dd9be2a

Please sign in to comment.