Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351724
b: refs/heads/master
c: 8a57fff
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg committed Jan 3, 2013
1 parent 34158d4 commit 824647c
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: 10ff57f98d5fccb9bb508ba30230e5df030d67e3
refs/heads/master: 8a57fff0c178febbe28669a0ef68a8e3460a7589
4 changes: 2 additions & 2 deletions trunk/net/wireless/reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -647,9 +647,9 @@ static struct ieee80211_regdomain *regdom_intersect(
if (!rd)
return NULL;

for (x = 0; x < rd1->n_reg_rules; x++) {
for (x = 0; x < rd1->n_reg_rules && rule_idx < num_rules; x++) {
rule1 = &rd1->reg_rules[x];
for (y = 0; y < rd2->n_reg_rules; y++) {
for (y = 0; y < rd2->n_reg_rules && rule_idx < num_rules; y++) {
rule2 = &rd2->reg_rules[y];
/*
* This time around instead of using the stack lets
Expand Down

0 comments on commit 824647c

Please sign in to comment.