diff --git a/drivers/net/wireless/rt2x00/rt2x00mac.c b/drivers/net/wireless/rt2x00/rt2x00mac.c index c41a0b9..a75f54d 100644 --- a/drivers/net/wireless/rt2x00/rt2x00mac.c +++ b/drivers/net/wireless/rt2x00/rt2x00mac.c @@ -198,6 +198,9 @@ int rt2x00mac_add_interface(struct ieee80211_hw *hw, struct queue_entry *entry = NULL; unsigned int i; + ERROR(rt2x00dev, "===>\n"); + dump_stack(); + /* * Don't allow interfaces to be added * the device has disappeared. @@ -293,6 +296,8 @@ int rt2x00mac_add_interface(struct ieee80211_hw *hw, */ rt2x00dev->packet_filter = 0; + ERROR(rt2x00dev, "<===\n"); + return 0; } EXPORT_SYMBOL_GPL(rt2x00mac_add_interface); @@ -303,6 +308,9 @@ void rt2x00mac_remove_interface(struct ieee80211_hw *hw, struct rt2x00_dev *rt2x00dev = hw->priv; struct rt2x00_intf *intf = vif_to_intf(conf->vif); + ERROR(rt2x00dev, "===>\n"); + dump_stack(); + /* * Don't allow interfaces to be remove while * either the device has disappeared or when @@ -330,6 +338,8 @@ void rt2x00mac_remove_interface(struct ieee80211_hw *hw, */ rt2x00lib_config_intf(rt2x00dev, intf, NL80211_IFTYPE_UNSPECIFIED, NULL, NULL); + + ERROR(rt2x00dev, "<===\n"); } EXPORT_SYMBOL_GPL(rt2x00mac_remove_interface); @@ -339,6 +349,9 @@ int rt2x00mac_config(struct ieee80211_hw *hw, u32 changed) struct ieee80211_conf *conf = &hw->conf; int status; + ERROR(rt2x00dev, "===>\n"); + dump_stack(); + /* * Mac80211 might be calling this function while we are trying * to remove the device or perhaps suspending it. @@ -386,6 +399,8 @@ int rt2x00mac_config(struct ieee80211_hw *hw, u32 changed) rt2x00lib_disable_radio(rt2x00dev); } + ERROR(rt2x00dev, "<===\n"); + return 0; } EXPORT_SYMBOL_GPL(rt2x00mac_config); @@ -399,6 +414,9 @@ int rt2x00mac_config_interface(struct ieee80211_hw *hw, int update_bssid = 0; int status = 0; + ERROR(rt2x00dev, "===>\n"); + dump_stack(); + /* * Mac80211 might be calling this function while we are trying * to remove the device or perhaps suspending it. @@ -436,6 +454,9 @@ int rt2x00mac_config_interface(struct ieee80211_hw *hw, status = rt2x00queue_update_beacon(rt2x00dev, vif, conf->enable_beacon); + ERROR(rt2x00dev, "<===\n"); + dump_stack(); + return status; } EXPORT_SYMBOL_GPL(rt2x00mac_config_interface);