aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtl8187_dev.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-10-09 06:18:51 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-10-31 19:00:07 -0400
commite8975581f63870be42ff4662b293d1b0c8c21350 (patch)
tree3d0d67e73d009ea6480b459585c0a70fc35fa9da /drivers/net/wireless/rtl8187_dev.c
parent0f4ac38b5999c3d51adad52d61c56c1b99c247ec (diff)
mac80211: introduce hw config change flags
This makes mac80211 notify the driver which configuration actually changed, e.g. channel etc. No driver changes, this is just plumbing, driver authors are expected to act on this if they want to. Also remove the HW CONFIG debug printk, it's incorrect, often we configure something else. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtl8187_dev.c')
-rw-r--r--drivers/net/wireless/rtl8187_dev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtl8187_dev.c b/drivers/net/wireless/rtl8187_dev.c
index 9ceae9017f86..2c69ab37c650 100644
--- a/drivers/net/wireless/rtl8187_dev.c
+++ b/drivers/net/wireless/rtl8187_dev.c
@@ -873,9 +873,10 @@ static void rtl8187_remove_interface(struct ieee80211_hw *dev,
873 mutex_unlock(&priv->conf_mutex); 873 mutex_unlock(&priv->conf_mutex);
874} 874}
875 875
876static int rtl8187_config(struct ieee80211_hw *dev, struct ieee80211_conf *conf) 876static int rtl8187_config(struct ieee80211_hw *dev, u32 changed)
877{ 877{
878 struct rtl8187_priv *priv = dev->priv; 878 struct rtl8187_priv *priv = dev->priv;
879 struct ieee80211_conf *conf = &dev->conf;
879 u32 reg; 880 u32 reg;
880 881
881 mutex_lock(&priv->conf_mutex); 882 mutex_lock(&priv->conf_mutex);