diff --git a/[refs] b/[refs] index 433b84365144..75af91f4795f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: cc78d6b16a6853a3f6c014a6173df41d80f65a35 +refs/heads/master: fb03c5eb8c0bbf4561cb5aa72e0a9546e9574661 diff --git a/trunk/net/mac80211/ibss.c b/trunk/net/mac80211/ibss.c index 3f830ac159e5..0fc9752facea 100644 --- a/trunk/net/mac80211/ibss.c +++ b/trunk/net/mac80211/ibss.c @@ -993,8 +993,10 @@ int ieee80211_ibss_join(struct ieee80211_sub_if_data *sdata, if (params->channel_fixed) { sdata->local->oper_channel = params->channel; if (!ieee80211_set_channel_type(sdata->local, sdata, - params->channel_type)) + params->channel_type)) { + mutex_unlock(&sdata->u.ibss.mtx); return -EINVAL; + } } if (params->ie) {