diff options
author | Luis R. Rodriguez <mcgrof@do-not-panic.com> | 2013-01-11 18:39:36 +0000 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-01-14 11:32:44 +0100 |
commit | 0c0280bd0ba410326eecdaeb1b936696eda6381d (patch) | |
tree | d7d2795b3418db1c5b9ffa971c7beeaa2245b0fe /drivers/net/wireless/libertas/cfg.h | |
parent | 55b183ad8635589ea731a31653de79a2626491c4 (diff) | |
download | blackbird-obmc-linux-0c0280bd0ba410326eecdaeb1b936696eda6381d.tar.gz blackbird-obmc-linux-0c0280bd0ba410326eecdaeb1b936696eda6381d.zip |
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 'drivers/net/wireless/libertas/cfg.h')
-rw-r--r-- | drivers/net/wireless/libertas/cfg.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/cfg.h b/drivers/net/wireless/libertas/cfg.h index 558168ce634d..10995f59fe34 100644 --- a/drivers/net/wireless/libertas/cfg.h +++ b/drivers/net/wireless/libertas/cfg.h @@ -10,9 +10,6 @@ struct wireless_dev *lbs_cfg_alloc(struct device *dev); int lbs_cfg_register(struct lbs_private *priv); void lbs_cfg_free(struct lbs_private *priv); -int lbs_reg_notifier(struct wiphy *wiphy, - struct regulatory_request *request); - void lbs_send_disconnect_notification(struct lbs_private *priv); void lbs_send_mic_failureevent(struct lbs_private *priv, u32 event); |