aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/mac80211/ibss.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c
index 0fc9752facea..fe0e91e0b8bc 100644
--- a/net/mac80211/ibss.c
+++ b/net/mac80211/ibss.c
@@ -995,6 +995,7 @@ int ieee80211_ibss_join(struct ieee80211_sub_if_data *sdata,
995 if (!ieee80211_set_channel_type(sdata->local, sdata, 995 if (!ieee80211_set_channel_type(sdata->local, sdata,
996 params->channel_type)) { 996 params->channel_type)) {
997 mutex_unlock(&sdata->u.ibss.mtx); 997 mutex_unlock(&sdata->u.ibss.mtx);
998 kfree_skb(skb);
998 return -EINVAL; 999 return -EINVAL;
999 } 1000 }
1000 } 1001 }