Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102792
b: refs/heads/master
c: 20ad4fd
h: refs/heads/master
v: v3
  • Loading branch information
Scott Ashcroft authored and John W. Linville committed Jun 3, 2008
1 parent 878293e commit add7a3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: a888d52d1eda77f08e09d38ac829353200240716
refs/heads/master: 20ad4fd56255b455beb677dc097eb108d15f1d63
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/rndis_wlan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@ static int rndis_iw_get_range(struct net_device *dev,
/* fill in 802.11g rates */
if (has_80211g_rates) {
num = range->num_bitrates;
for (i = 0; i < sizeof(rates_80211g); i++) {
for (i = 0; i < ARRAY_SIZE(rates_80211g); i++) {
for (j = 0; j < num; j++) {
if (range->bitrate[j] ==
rates_80211g[i] * 1000000)
Expand Down

0 comments on commit add7a3e

Please sign in to comment.