mac80211: correct header length calculation
authorFred Chou <fred.chou.nd@gmail.com>
Tue, 20 Jan 2015 02:17:27 +0000 (10:17 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 23 Jan 2015 09:52:48 +0000 (10:52 +0100)
commitfb142f4bbb7d718b3d9cc8f27c909b4809545f5c
treefb9e6cb19663ef7aa3b8b4dceac82524f46c732c
parent2af81d6718f5ec92b1d787e0fe79b0d3b6f78601
mac80211: correct header length calculation

HT Control field may also be present in management frames, as defined
in 8.2.4.1.10 of 802.11-2012. Account for this in calculation of header
length.

Signed-off-by: Fred Chou <fred.chou.nd@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/util.c