diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-10-09 06:18:51 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-10-31 19:00:07 -0400 |
commit | e8975581f63870be42ff4662b293d1b0c8c21350 (patch) | |
tree | 3d0d67e73d009ea6480b459585c0a70fc35fa9da /drivers/net/wireless/p54/p54common.c | |
parent | 0f4ac38b5999c3d51adad52d61c56c1b99c247ec (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/p54/p54common.c')
-rw-r--r-- | drivers/net/wireless/p54/p54common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/p54/p54common.c b/drivers/net/wireless/p54/p54common.c index b3e75eb4d5ba..b3c297ed00cd 100644 --- a/drivers/net/wireless/p54/p54common.c +++ b/drivers/net/wireless/p54/p54common.c | |||
@@ -1192,10 +1192,11 @@ static void p54_remove_interface(struct ieee80211_hw *dev, | |||
1192 | p54_set_filter(dev, 0, NULL); | 1192 | p54_set_filter(dev, 0, NULL); |
1193 | } | 1193 | } |
1194 | 1194 | ||
1195 | static int p54_config(struct ieee80211_hw *dev, struct ieee80211_conf *conf) | 1195 | static int p54_config(struct ieee80211_hw *dev, u32 changed) |
1196 | { | 1196 | { |
1197 | int ret; | 1197 | int ret; |
1198 | struct p54_common *priv = dev->priv; | 1198 | struct p54_common *priv = dev->priv; |
1199 | struct ieee80211_conf *conf = &dev->conf; | ||
1199 | 1200 | ||
1200 | mutex_lock(&priv->conf_mutex); | 1201 | mutex_lock(&priv->conf_mutex); |
1201 | priv->rx_antenna = 2; /* automatic */ | 1202 | priv->rx_antenna = 2; /* automatic */ |