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>
This commit is contained in:
committed by
John W. Linville
parent
0f4ac38b59
commit
e8975581f6
@ -359,10 +359,10 @@ static void mac80211_hwsim_beacon(unsigned long arg)
|
||||
}
|
||||
|
||||
|
||||
static int mac80211_hwsim_config(struct ieee80211_hw *hw,
|
||||
struct ieee80211_conf *conf)
|
||||
static int mac80211_hwsim_config(struct ieee80211_hw *hw, u32 changed)
|
||||
{
|
||||
struct mac80211_hwsim_data *data = hw->priv;
|
||||
struct ieee80211_conf *conf = &hw->conf;
|
||||
|
||||
printk(KERN_DEBUG "%s:%s (freq=%d radio_enabled=%d beacon_int=%d)\n",
|
||||
wiphy_name(hw->wiphy), __func__,
|
||||
|
Reference in New Issue
Block a user