wifi: mac80211: allow bw change during channel switch in mesh
[platform/kernel/linux-starfive.git] / net / mac80211 / cfg.c
index 854becd..960d5c4 100644 (file)
@@ -3683,9 +3683,6 @@ static int ieee80211_set_csa_beacon(struct ieee80211_sub_if_data *sdata,
        case NL80211_IFTYPE_MESH_POINT: {
                struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
 
-               if (params->chandef.width != sdata->vif.bss_conf.chandef.width)
-                       return -EINVAL;
-
                /* changes into another band are not supported */
                if (sdata->vif.bss_conf.chandef.chan->band !=
                    params->chandef.chan->band)