Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 184093
b: refs/heads/master
c: 641eabb
h: refs/heads/master
i:
  184091: 70ab489
v: v3
  • Loading branch information
Christian Lamparter authored and John W. Linville committed Feb 8, 2010
1 parent 4e1fcc0 commit 3cab64b
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 349e6b7289f8a3d3d5d3b859e00b41f27d1211df
refs/heads/master: 641eabb0a3717020d1a93d3f91493ab0d826c910
5 changes: 3 additions & 2 deletions trunk/drivers/net/wireless/ath/regd.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,9 @@ static const struct ieee80211_regdomain ath_world_regdom_67_68_6A = {

static inline bool is_wwr_sku(u16 regd)
{
return ((regd & WORLD_SKU_MASK) == WORLD_SKU_PREFIX) ||
(regd == WORLD);
return ((regd & COUNTRY_ERD_FLAG) != COUNTRY_ERD_FLAG) &&
(((regd & WORLD_SKU_MASK) == WORLD_SKU_PREFIX) ||
(regd == WORLD));
}

static u16 ath_regd_get_eepromRD(struct ath_regulatory *reg)
Expand Down

0 comments on commit 3cab64b

Please sign in to comment.