Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279365
b: refs/heads/master
c: afbca95
h: refs/heads/master
i:
  279363: 6c62ae0
v: v3
  • Loading branch information
Andres Salomon authored and John W. Linville committed Dec 21, 2011
1 parent 31c209c commit 3a09e9d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 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: 092fadb00c3958f2cbc560cf00489563bc929faa
refs/heads/master: afbca95f95f2bf7283a72670c24c1f6de00b1cb5
10 changes: 6 additions & 4 deletions trunk/drivers/net/wireless/libertas/cfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -731,9 +731,11 @@ static void lbs_scan_worker(struct work_struct *work)
le16_to_cpu(scan_cmd->hdr.size),
lbs_ret_scan, 0);

if (priv->scan_channel >= priv->scan_req->n_channels)
if (priv->scan_channel >= priv->scan_req->n_channels) {
/* Mark scan done */
cancel_delayed_work(&priv->scan_work);
lbs_scan_done(priv);
}

/* Restart network */
if (carrier)
Expand Down Expand Up @@ -762,12 +764,12 @@ static void _internal_start_scan(struct lbs_private *priv, bool internal,
request->n_ssids, request->n_channels, request->ie_len);

priv->scan_channel = 0;
queue_delayed_work(priv->work_thread, &priv->scan_work,
msecs_to_jiffies(50));

priv->scan_req = request;
priv->internal_scan = internal;

queue_delayed_work(priv->work_thread, &priv->scan_work,
msecs_to_jiffies(50));

lbs_deb_leave(LBS_DEB_CFG80211);
}

Expand Down

0 comments on commit 3a09e9d

Please sign in to comment.