]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix the increment of mesh precedence value
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>
Wed, 22 Jan 2014 06:53:04 +0000 (14:53 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Feb 2014 20:48:15 +0000 (21:48 +0100)
commit38f6a9aeae66642ea33dcbb614205f6bb87b9151
tree6d47061280c5f2602b27a5483a49c8cfedcb7f8e
parent46566628c2a81258ca4f6ebbea34c7b7c4b11c96
mac80211: fix the increment of mesh precedence value

The mesh precedence value in ieee80211_channel_switch
should be incremented or set to 1 only if this is the
initiator of mesh channel switch. For non-initiator,
the precedence value has updated using the Mesh
Channel Switch Parameters element. Fix this.

Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c