diff options
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 4dee69a38c1d..84df3fcf37b3 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c | |||
@@ -584,24 +584,24 @@ static void mac80211_hwsim_stop(struct ieee80211_hw *hw) | |||
584 | 584 | ||
585 | 585 | ||
586 | static int mac80211_hwsim_add_interface(struct ieee80211_hw *hw, | 586 | static int mac80211_hwsim_add_interface(struct ieee80211_hw *hw, |
587 | struct ieee80211_if_init_conf *conf) | 587 | struct ieee80211_vif *vif) |
588 | { | 588 | { |
589 | printk(KERN_DEBUG "%s:%s (type=%d mac_addr=%pM)\n", | 589 | printk(KERN_DEBUG "%s:%s (type=%d mac_addr=%pM)\n", |
590 | wiphy_name(hw->wiphy), __func__, conf->type, | 590 | wiphy_name(hw->wiphy), __func__, vif->type, |
591 | conf->mac_addr); | 591 | vif->addr); |
592 | hwsim_set_magic(conf->vif); | 592 | hwsim_set_magic(vif); |
593 | return 0; | 593 | return 0; |
594 | } | 594 | } |
595 | 595 | ||
596 | 596 | ||
597 | static void mac80211_hwsim_remove_interface( | 597 | static void mac80211_hwsim_remove_interface( |
598 | struct ieee80211_hw *hw, struct ieee80211_if_init_conf *conf) | 598 | struct ieee80211_hw *hw, struct ieee80211_vif *vif) |
599 | { | 599 | { |
600 | printk(KERN_DEBUG "%s:%s (type=%d mac_addr=%pM)\n", | 600 | printk(KERN_DEBUG "%s:%s (type=%d mac_addr=%pM)\n", |
601 | wiphy_name(hw->wiphy), __func__, conf->type, | 601 | wiphy_name(hw->wiphy), __func__, vif->type, |
602 | conf->mac_addr); | 602 | vif->addr); |
603 | hwsim_check_magic(conf->vif); | 603 | hwsim_check_magic(vif); |
604 | hwsim_clear_magic(conf->vif); | 604 | hwsim_clear_magic(vif); |
605 | } | 605 | } |
606 | 606 | ||
607 | 607 | ||