Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304390
b: refs/heads/master
c: bb46f13
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Apr 18, 2012
1 parent f942f5c commit f7c63c9
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 0d19cd36a5727962b3c000270857d4bf63522d63
refs/heads/master: bb46f130a033ed812ccc24f5fd4f34648650d240
4 changes: 2 additions & 2 deletions trunk/drivers/staging/wlan-ng/prism2mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,8 @@ int prism2mgmt_scan_results(wlandevice_t *wlandev, void *msgp)
}

count = (hw->scanresults->framelen - 3) / 32;
if (count > 32)
count = 32;
if (count > HFA384x_SCANRESULT_MAX)
count = HFA384x_SCANRESULT_MAX;

if (req->bssindex.data >= count) {
pr_debug("requested index (%d) out of range (%d)\n",
Expand Down

0 comments on commit f7c63c9

Please sign in to comment.