Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mia:espressobin
kernel-default
ath_disable_regd.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ath_disable_regd.patch of Package kernel-default
diff -ru linux-6.0.orig/drivers/net/wireless/ath/regd.c linux-6.0/drivers/net/wireless/ath/regd.c --- linux-6.0.orig/drivers/net/wireless/ath/regd.c 2022-10-02 23:09:07.000000000 +0200 +++ linux-6.0/drivers/net/wireless/ath/regd.c 2022-11-05 00:41:22.964433666 +0100 @@ -116,8 +116,7 @@ static bool dynamic_country_user_possible(struct ath_regulatory *reg) { - if (IS_ENABLED(CONFIG_ATH_REG_DYNAMIC_USER_CERT_TESTING)) - return true; + return true; switch (reg->country_code) { case CTRY_UNITED_STATES: @@ -188,10 +187,6 @@ static bool ath_reg_dyn_country_user_allow(struct ath_regulatory *reg) { - if (!IS_ENABLED(CONFIG_ATH_REG_DYNAMIC_USER_REG_HINTS)) - return false; - if (!dynamic_country_user_possible(reg)) - return false; return true; } @@ -344,6 +339,7 @@ struct ieee80211_supported_band *sband; struct ieee80211_channel *ch; unsigned int i; + return; for (band = 0; band < NUM_NL80211_BANDS; band++) { if (!wiphy->bands[band]) @@ -378,6 +374,7 @@ enum nl80211_reg_initiator initiator) { struct ieee80211_supported_band *sband; + return; sband = wiphy->bands[NL80211_BAND_2GHZ]; if (!sband) @@ -407,6 +404,7 @@ struct ieee80211_supported_band *sband; struct ieee80211_channel *ch; unsigned int i; + return; if (!wiphy->bands[NL80211_BAND_5GHZ]) return; @@ -640,6 +638,7 @@ const struct ieee80211_regdomain *regd; wiphy->reg_notifier = reg_notifier; + return 0; wiphy->regulatory_flags |= REGULATORY_STRICT_REG | REGULATORY_CUSTOM_REG;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor