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)
commit2ea752cd2ce066c5d8c1807b5310ef329885cecb
treec0558477438bb369e1f30ce845f38ab7fd436a24
parent042ab5fc7a80b934032fcc673a125feb36645b33
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