Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247649
b: refs/heads/master
c: 683c002
h: refs/heads/master
i:
  247647: 56b94d5
v: v3
  • Loading branch information
Luciano Coelho committed May 12, 2011
1 parent 5357e21 commit 16e8606
Show file tree
Hide file tree
Showing 2 changed files with 7 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: d3eff81de6048d8af8f95f52f0f06625980f2efb
refs/heads/master: 683c002447c12742f5151691083f68524f33b13a
6 changes: 6 additions & 0 deletions trunk/drivers/net/wireless/wl12xx/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,12 @@ int wl1271_scan_sched_scan_start(struct wl1271 *wl)

wl1271_debug(DEBUG_CMD, "cmd periodic scan start");

if (wl->bss_type != BSS_TYPE_STA_BSS)
return -EOPNOTSUPP;

if (!test_bit(WL1271_FLAG_IDLE, &wl->flags))
return -EBUSY;

start = kzalloc(sizeof(*start), GFP_KERNEL);
if (!start)
return -ENOMEM;
Expand Down

0 comments on commit 16e8606

Please sign in to comment.