Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278079
b: refs/heads/master
c: cb93821
h: refs/heads/master
i:
  278077: 6cc48d4
  278075: 580c0ea
  278071: 2673504
  278063: ac531da
  278047: bd40f31
  278015: ed8239c
v: v3
  • Loading branch information
Kalle Valo committed Nov 11, 2011
1 parent a26b5e7 commit d9124f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 3101edef5cc43034cd809e7105ea2b366e9c7c00
refs/heads/master: cb93821a9eaf53fb60addd689d3fa9f106790be1
6 changes: 4 additions & 2 deletions trunk/drivers/net/wireless/ath/ath6kl/cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,7 @@ static int ath6kl_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev,
void ath6kl_cfg80211_scan_complete_event(struct ath6kl_vif *vif, int status)
{
struct ath6kl *ar = vif->ar;
bool aborted;
int i;

ath6kl_dbg(ATH6KL_DBG_WLAN_CFG, "%s: status %d\n", __func__, status);
Expand All @@ -882,11 +883,11 @@ void ath6kl_cfg80211_scan_complete_event(struct ath6kl_vif *vif, int status)
return;

if ((status == -ECANCELED) || (status == -EBUSY)) {
cfg80211_scan_done(vif->scan_req, true);
aborted = true;
goto out;
}

cfg80211_scan_done(vif->scan_req, false);
aborted = false;

if (vif->scan_req->n_ssids && vif->scan_req->ssids[0].ssid_len) {
for (i = 0; i < vif->scan_req->n_ssids; i++) {
Expand All @@ -897,6 +898,7 @@ void ath6kl_cfg80211_scan_complete_event(struct ath6kl_vif *vif, int status)
}

out:
cfg80211_scan_done(vif->scan_req, aborted);
vif->scan_req = NULL;
}

Expand Down

0 comments on commit d9124f5

Please sign in to comment.