cfg80211: make regulatory_hint() remove REGULATORY_CUSTOM_REG
[linux-drm-fsl-dcu.git] / include / net / regulatory.h
index c96a0b86f342cc1093dee253f070f9ff225b0ba6..b07cdc9fa454a57fe43d1eea0235522c26d0c1a6 100644 (file)
@@ -96,6 +96,10 @@ struct regulatory_request {
  *     initiator is %REGDOM_SET_BY_CORE). Drivers that use
  *     wiphy_apply_custom_regulatory() should have this flag set
  *     or the regulatory core will set it for the wiphy.
+ *     If you use regulatory_hint() *after* using
+ *     wiphy_apply_custom_regulatory() the wireless core will
+ *     clear the REGULATORY_CUSTOM_REG for your wiphy as it would be
+ *     implied that the device somehow gained knowledge of its region.
  * @REGULATORY_STRICT_REG: tells us that the wiphy for this device
  *     has regulatory domain that it wishes to be considered as the
  *     superset for regulatory rules. After this device gets its regulatory