commit | 466f310d100ff54f346c1be481af9935c42467b3 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Jul 25 13:51:49 2012 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Mon Aug 20 14:13:38 2012 +0200 |
tree | 419fe4d27f6b24f8c9979f0c2717b8339fc656bb | |
parent | d348f69f59af769c405c2f43a2d326d7123ef75a [diff] |
mac80211: mesh: don't use global channel type 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>