diff options
Diffstat (limited to 'net/mac80211/ieee80211_iface.c')
-rw-r--r-- | net/mac80211/ieee80211_iface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_iface.c b/net/mac80211/ieee80211_iface.c index 8532a5ccdd1e..6db67767801d 100644 --- a/net/mac80211/ieee80211_iface.c +++ b/net/mac80211/ieee80211_iface.c | |||
@@ -272,8 +272,8 @@ void ieee80211_if_reinit(struct net_device *dev) | |||
272 | case IEEE80211_IF_TYPE_WDS: | 272 | case IEEE80211_IF_TYPE_WDS: |
273 | sta = sta_info_get(local, sdata->u.wds.remote_addr); | 273 | sta = sta_info_get(local, sdata->u.wds.remote_addr); |
274 | if (sta) { | 274 | if (sta) { |
275 | sta_info_free(sta); | ||
275 | sta_info_put(sta); | 276 | sta_info_put(sta); |
276 | sta_info_free(sta, 0); | ||
277 | } else { | 277 | } else { |
278 | #ifdef CONFIG_MAC80211_VERBOSE_DEBUG | 278 | #ifdef CONFIG_MAC80211_VERBOSE_DEBUG |
279 | printk(KERN_DEBUG "%s: Someone had deleted my STA " | 279 | printk(KERN_DEBUG "%s: Someone had deleted my STA " |