Search Linux Wireless

[RFT 0/2] wireless: address REGULATORY_CUSTOM_REG usage with regulatory_hint()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sujith spotted a warning on the ath module when it doesn't set the
REGULATORY_CUSTOM_REG flag but still uses the wiphy_apply_custom_regulatory().
The issue is that the cards that it is warning on are not world roaming
but the ath module preference is to be conservative and to apply a custom
world roaming regulatory domain *prior* to applying the one seen mandated
by the alpha2 on the card with regulatory_hint().

Fix this first in the shared ath module for the Atheros drivers and then
later merge a generic solution so that others drivers don't have to do
this, and remove the temporary flag removal within the ath module then.

The split of the patches should let John take in the ath module fix while
Johannes can take in the generic solution for cfg80211 separately. Once
Johannes sends a pull request to Linville I suspect there will be no
conflicts.

Sujith please test each one separately if you can.

Luis R. Rodriguez (2):
  ath: fix warning on usage of REGULATORY_CUSTOM_REG
  cfg80211: make regulatory_hint() remove REGULATORY_CUSTOM_REG

 drivers/net/wireless/ath/regd.c | 7 ++++---
 include/net/regulatory.h        | 4 ++++
 net/wireless/reg.c              | 2 ++
 3 files changed, 10 insertions(+), 3 deletions(-)

-- 
1.8.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux