Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162895
b: refs/heads/master
c: 8862dc5
h: refs/heads/master
i:
  162893: c622d11
  162891: 92d0afd
  162887: 251e895
  162879: 67c690d
v: v3
  • Loading branch information
Holger Schurig authored and John W. Linville committed Sep 14, 2009
1 parent 39a5dc9 commit 051d3d7
Show file tree
Hide file tree
Showing 2 changed files with 6 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: a4e7b730f1c8c9179def7033a024183c58cf2538
refs/heads/master: 8862dc5f25153a3c565a097220ed3de14ed72dfd
5 changes: 5 additions & 0 deletions trunk/net/wireless/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,11 @@ int cfg80211_wext_siwscan(struct net_device *dev,
wext_freq_not_found: ;
}
}
/* No channels found? */
if (!i) {
err = -EINVAL;
goto out;
}

/* Set real number of channels specified in creq->channels[] */
creq->n_channels = i;
Expand Down

0 comments on commit 051d3d7

Please sign in to comment.