]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: correct aid location in peering frames
authorBob Copeland <me@bobcopeland.com>
Tue, 14 Jul 2015 12:31:55 +0000 (08:31 -0400)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 17 Jul 2015 12:38:10 +0000 (14:38 +0200)
commita1733ec03beb276d9c5d2954929b06fbcc1a5e33
treec0558477438bb369e1f30ce845f38ab7fd436a24
parentce8f8fb9bce4e3bf25bcb3ff0dc773635d441220
mac80211: correct aid location in peering frames

According to 802.11-2012 8.5.16.3.2 AID comes directly after the
capability bytes in mesh peering confirm frames.  The existing
code, however, was adding a 2 byte offset to this location,
resulting in garbage data going out over the air.  Remove the
offset to fix it.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_plink.c