mac80211: mesh: don't use global channel type
authorJohannes Berg <johannes.berg@intel.com>
Wed, 25 Jul 2012 11:51:49 +0000 (13:51 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Aug 2012 12:13:38 +0000 (14:13 +0200)
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: Johannes Berg <johannes.berg@intel.com>

No differences found