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 /net/mac80211/cfg.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 'net/mac80211/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index a5dea617aab3..8ea30902d5db 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c | |||
@@ -394,7 +394,8 @@ static int ieee80211_config_beacon(struct ieee80211_sub_if_data *sdata, | |||
394 | */ | 394 | */ |
395 | if (params->interval) { | 395 | if (params->interval) { |
396 | sdata->local->hw.conf.beacon_int = params->interval; | 396 | sdata->local->hw.conf.beacon_int = params->interval; |
397 | ieee80211_hw_config(sdata->local); | 397 | ieee80211_hw_config(sdata->local, |
398 | IEEE80211_CONF_CHANGE_BEACON_INTERVAL); | ||
398 | /* | 399 | /* |
399 | * We updated some parameter so if below bails out | 400 | * We updated some parameter so if below bails out |
400 | * it's not an error. | 401 | * it's not an error. |