aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>2013-01-11 13:39:36 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-01-14 05:32:44 -0500
commit0c0280bd0ba410326eecdaeb1b936696eda6381d (patch)
treed7d2795b3418db1c5b9ffa971c7beeaa2245b0fe /include/net/cfg80211.h
parent55b183ad8635589ea731a31653de79a2626491c4 (diff)
wireless: make the reg_notifier() void
The reg_notifier()'s return value need not be checked as it is only supposed to do post regulatory work and that should never fail. Any behaviour to regulatory that needs to be considered before cfg80211 does work to a driver should be specified by using the already existing flags, the reg_notifier() just does post processing should it find it needs to. Also make lbs_reg_notifier static. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com> [move lbs_reg_notifier to not break compile] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index e5f085c89221..4275127da05a 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -2364,8 +2364,8 @@ struct wiphy {
2364 struct ieee80211_supported_band *bands[IEEE80211_NUM_BANDS]; 2364 struct ieee80211_supported_band *bands[IEEE80211_NUM_BANDS];
2365 2365
2366 /* Lets us get back the wiphy on the callback */ 2366 /* Lets us get back the wiphy on the callback */
2367 int (*reg_notifier)(struct wiphy *wiphy, 2367 void (*reg_notifier)(struct wiphy *wiphy,
2368 struct regulatory_request *request); 2368 struct regulatory_request *request);
2369 2369
2370 /* fields below are read-only, assigned by cfg80211 */ 2370 /* fields below are read-only, assigned by cfg80211 */
2371 2371