mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-23 19:14:30 +08:00
0c0280bd0b
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>
21 lines
577 B
C
21 lines
577 B
C
#ifndef __LBS_CFG80211_H__
|
|
#define __LBS_CFG80211_H__
|
|
|
|
struct device;
|
|
struct lbs_private;
|
|
struct regulatory_request;
|
|
struct wiphy;
|
|
|
|
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);
|
|
|
|
void lbs_send_disconnect_notification(struct lbs_private *priv);
|
|
void lbs_send_mic_failureevent(struct lbs_private *priv, u32 event);
|
|
|
|
void lbs_scan_done(struct lbs_private *priv);
|
|
void lbs_scan_deinit(struct lbs_private *priv);
|
|
int lbs_disconnect(struct lbs_private *priv, u16 reason);
|
|
|
|
#endif
|