diff options
Diffstat (limited to 'net/mac80211/ieee80211.c')
-rw-r--r-- | net/mac80211/ieee80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211.c b/net/mac80211/ieee80211.c index 8c0f782d21e3..5ee431b6256c 100644 --- a/net/mac80211/ieee80211.c +++ b/net/mac80211/ieee80211.c | |||
@@ -268,7 +268,7 @@ static int ieee80211_open(struct net_device *dev) | |||
268 | 268 | ||
269 | res = sta_info_insert(sta); | 269 | res = sta_info_insert(sta); |
270 | if (res) { | 270 | if (res) { |
271 | sta_info_destroy(sta); | 271 | /* STA has been freed */ |
272 | return res; | 272 | return res; |
273 | } | 273 | } |
274 | break; | 274 | break; |