X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/cd8a80e0f4ada3b68c025dd9d13182b9254d7e7e..0af92c3edba0a538ce11c89021b62692d3548735:/package/mac80211/patches/404-ath_regd_optional.patch?ds=sidebyside diff --git a/package/mac80211/patches/404-ath_regd_optional.patch b/package/mac80211/patches/404-ath_regd_optional.patch index aad29b6b8..cf4929e16 100644 --- a/package/mac80211/patches/404-ath_regd_optional.patch +++ b/package/mac80211/patches/404-ath_regd_optional.patch @@ -1,6 +1,6 @@ --- a/drivers/net/wireless/ath/regd.c +++ b/drivers/net/wireless/ath/regd.c -@@ -19,6 +19,9 @@ +@@ -18,6 +18,9 @@ #include #include #include "regd.h" @@ -10,7 +10,7 @@ #include "regd_common.h" /* -@@ -589,3 +592,5 @@ u32 ath_regd_get_band_ctl(struct ath_reg +@@ -587,3 +590,5 @@ u32 ath_regd_get_band_ctl(struct ath_reg } } EXPORT_SYMBOL(ath_regd_get_band_ctl); @@ -18,7 +18,7 @@ +#endif --- a/drivers/net/wireless/ath/regd.h +++ b/drivers/net/wireless/ath/regd.h -@@ -250,6 +250,41 @@ enum CountryCode { +@@ -249,6 +249,41 @@ enum CountryCode { CTRY_BELGIUM2 = 5002 }; @@ -60,7 +60,7 @@ bool ath_is_world_regd(struct ath_regulatory *reg); int ath_regd_init(struct ath_regulatory *reg, struct wiphy *wiphy, int (*reg_notifier)(struct wiphy *wiphy, -@@ -261,3 +296,5 @@ int ath_reg_notifier_apply(struct wiphy +@@ -260,3 +295,5 @@ int ath_reg_notifier_apply(struct wiphy struct ath_regulatory *reg); #endif