cfg80211: use only 1Mbps for basic rates in mesh
authorJohannes Berg <johannes.berg@intel.com>
Tue, 30 Jan 2018 12:17:38 +0000 (13:17 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 31 Jan 2018 11:38:56 +0000 (12:38 +0100)
commitc028c6309a9f9b385ba8c0c984eb2b6c3f368650
tree890cea6e0a50ba10cd6736a11c384eafc75f9234
parentba804bb4b72e57374b5f567b783aa0298fba0ce6
cfg80211: use only 1Mbps for basic rates in mesh

Mesh used to use the mandatory rates as basic rates, but we got
the calculation of mandatory rates wrong until some time ago.
Fix this this broke interoperability with older versions since
now more basic rates are required, and thus the MBSS isn't the
same and the network stops working.

Fix this by simply using only 1Mbps as the basic rate in 2.4GHz.
Since the changed mandatory rates only affected 2.4GHz, this is
all we need to make it work again.

Reported-and-tested-by: Matthias Schiffer <mschiffer@universe-factory.net>
Fixes: 1bd773c077de ("wireless: set correct mandatory rate flags")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/mesh.c