Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166256
b: refs/heads/master
c: 012a1b3
h: refs/heads/master
v: v3
  • Loading branch information
Holger Schurig authored and John W. Linville committed Sep 23, 2009
1 parent 8d9e2a0 commit 87e15ea
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: 50425b0977c53c6ac608f0b2c8a562a5c7cd5602
refs/heads/master: 012a1b3e5e3561376dacf07efee15688284302c6
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 87e15ea

Please sign in to comment.