Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183649
b: refs/heads/master
c: e99c7cd
h: refs/heads/master
i:
  183647: 35b7023
v: v3
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Jan 14, 2010
1 parent bc90ef9 commit 0aedc28
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: 6021e08db47386507108a475e6c820a7006a4632
refs/heads/master: e99c7cd57b2481ee36b2338040e3ce1cd17e0763
4 changes: 2 additions & 2 deletions trunk/net/wireless/reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ static struct ieee80211_regdomain *country_ie_2_rd(
/* 2 GHz */
if (triplet->chans.first_channel <= 14)
end_channel = triplet->chans.first_channel +
triplet->chans.num_channels;
triplet->chans.num_channels - 1;
else
/*
* 5 GHz -- For example in country IEs if the first
Expand Down Expand Up @@ -863,7 +863,7 @@ static struct ieee80211_regdomain *country_ie_2_rd(
/* 2 GHz */
if (triplet->chans.first_channel <= 14)
end_channel = triplet->chans.first_channel +
triplet->chans.num_channels;
triplet->chans.num_channels -1;
else
end_channel = triplet->chans.first_channel +
(4 * (triplet->chans.num_channels - 1));
Expand Down

0 comments on commit 0aedc28

Please sign in to comment.