Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 363345
b: refs/heads/master
c: 72c1c06
h: refs/heads/master
i:
  363343: 5613296
v: v3
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Mar 11, 2013
1 parent 275bdfa commit 80c3e50
Show file tree
Hide file tree
Showing 2 changed files with 4 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: a0cdd2e4a96a253c83e8d7856e39b9807805c6c4
refs/heads/master: 72c1c06d91c54beee35613434a5efdd7e8909302
3 changes: 3 additions & 0 deletions trunk/drivers/staging/wlan-ng/prism2sta.c
Original file line number Diff line number Diff line change
Expand Up @@ -1170,6 +1170,9 @@ static void prism2sta_inf_chinforesults(wlandevice_t *wlandev,
result = &inf->info.chinforesult.result[n];
chan = le16_to_cpu(result->chid) - 1;

if (chan < 0 || chan >= HFA384x_CHINFORESULT_MAX)
continue;

chinforesult = &hw->channel_info.results.result[chan];
chinforesult->chid = chan;
chinforesult->anl = le16_to_cpu(result->anl);
Expand Down

0 comments on commit 80c3e50

Please sign in to comment.