Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122266
b: refs/heads/master
c: 91e9900
h: refs/heads/master
v: v3
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Nov 25, 2008
1 parent eadf282 commit bbb2581
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: e0737a77d6cba100dea7e53bf490d67d110bc037
refs/heads/master: 91e9900418fb01229094fb83befa3591afcae1e7
2 changes: 1 addition & 1 deletion trunk/net/wireless/reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ static bool is_valid_reg_rule(const struct ieee80211_reg_rule *rule)
const struct ieee80211_freq_range *freq_range = &rule->freq_range;
u32 freq_diff;

if (freq_range->start_freq_khz == 0 || freq_range->end_freq_khz == 0)
if (freq_range->start_freq_khz <= 0 || freq_range->end_freq_khz <= 0)
return false;

if (freq_range->start_freq_khz > freq_range->end_freq_khz)
Expand Down

0 comments on commit bbb2581

Please sign in to comment.