• Johannes Berg's avatar
    mac80211: mesh: don't use global channel type · 466f310d
    Johannes Berg authored
    Using local->_oper_channel_type in the mesh code is
    completely wrong as this value is the combination
    of the various interface channel types and can be
    a different value from the mesh interface in case
    there are multiple virtual interfaces.
    
    Use sdata->vif.bss_conf.channel_type instead as it
    tracks the per-vif channel type.
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    466f310d
mesh_plink.c 25.7 KB