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/b43legacy | |
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/b43legacy')
-rw-r--r-- | drivers/net/wireless/b43legacy/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43legacy/main.c b/drivers/net/wireless/b43legacy/main.c index 867f01ce45c7..793cc396562f 100644 --- a/drivers/net/wireless/b43legacy/main.c +++ b/drivers/net/wireless/b43legacy/main.c | |||
@@ -2557,11 +2557,12 @@ init_failure: | |||
2557 | } | 2557 | } |
2558 | 2558 | ||
2559 | static int b43legacy_op_dev_config(struct ieee80211_hw *hw, | 2559 | static int b43legacy_op_dev_config(struct ieee80211_hw *hw, |
2560 | struct ieee80211_conf *conf) | 2560 | u32 changed) |
2561 | { | 2561 | { |
2562 | struct b43legacy_wl *wl = hw_to_b43legacy_wl(hw); | 2562 | struct b43legacy_wl *wl = hw_to_b43legacy_wl(hw); |
2563 | struct b43legacy_wldev *dev; | 2563 | struct b43legacy_wldev *dev; |
2564 | struct b43legacy_phy *phy; | 2564 | struct b43legacy_phy *phy; |
2565 | struct ieee80211_conf *conf = &hw->conf; | ||
2565 | unsigned long flags; | 2566 | unsigned long flags; |
2566 | unsigned int new_phymode = 0xFFFF; | 2567 | unsigned int new_phymode = 0xFFFF; |
2567 | int antenna_tx; | 2568 | int antenna_tx; |