|
|
@@ -1010,6 +1010,8 @@ ieee80211_vif_use_reserved_reassign(struct ieee80211_sub_if_data *sdata)
|
|
|
if (WARN_ON(!chandef))
|
|
|
return -EINVAL;
|
|
|
|
|
|
+ ieee80211_change_chanctx(local, new_ctx, chandef);
|
|
|
+
|
|
|
vif_chsw[0].vif = &sdata->vif;
|
|
|
vif_chsw[0].old_ctx = &old_ctx->conf;
|
|
|
vif_chsw[0].new_ctx = &new_ctx->conf;
|
|
|
@@ -1083,6 +1085,8 @@ ieee80211_vif_use_reserved_assign(struct ieee80211_sub_if_data *sdata)
|
|
|
if (WARN_ON(!chandef))
|
|
|
return -EINVAL;
|
|
|
|
|
|
+ ieee80211_change_chanctx(local, new_ctx, chandef);
|
|
|
+
|
|
|
list_del(&sdata->reserved_chanctx_list);
|
|
|
sdata->reserved_chanctx = NULL;
|
|
|
|