diff options
author | Daniel Drake <dsd@laptop.org> | 2012-07-15 18:44:58 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-07-17 15:11:36 -0400 |
commit | 20d2ebe512b9ad0f8fdd867a02d7a309344e8a6a (patch) | |
tree | 76e653b348d665145c37bd5e6943396b28f6aa25 /drivers/net/wireless/libertas/cmd.h | |
parent | 08a4a1ab0725d89ca1df80f2ebe8443da82cd34f (diff) |
libertas: Update 11d info only when interface is active
reg_notifier can be called before the interface is up.
Handle this correctly by storing the requested country code, then
apply the relevant configuration when the interface is brought up.
Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/cmd.h')
-rw-r--r-- | drivers/net/wireless/libertas/cmd.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/cmd.h b/drivers/net/wireless/libertas/cmd.h index b280ef7a0aea..ab07608e13d0 100644 --- a/drivers/net/wireless/libertas/cmd.h +++ b/drivers/net/wireless/libertas/cmd.h | |||
@@ -128,9 +128,7 @@ int lbs_set_monitor_mode(struct lbs_private *priv, int enable); | |||
128 | 128 | ||
129 | int lbs_get_rssi(struct lbs_private *priv, s8 *snr, s8 *nf); | 129 | int lbs_get_rssi(struct lbs_private *priv, s8 *snr, s8 *nf); |
130 | 130 | ||
131 | int lbs_set_11d_domain_info(struct lbs_private *priv, | 131 | int lbs_set_11d_domain_info(struct lbs_private *priv); |
132 | struct regulatory_request *request, | ||
133 | struct ieee80211_supported_band **bands); | ||
134 | 132 | ||
135 | int lbs_get_reg(struct lbs_private *priv, u16 reg, u16 offset, u32 *value); | 133 | int lbs_get_reg(struct lbs_private *priv, u16 reg, u16 offset, u32 *value); |
136 | 134 | ||