mac80211: parse Timeout Interval Element using a struct
authorJohannes Berg <johannes.berg@intel.com>
Wed, 27 Mar 2013 13:38:07 +0000 (14:38 +0100)
committerChristian Lamparter <chunkeey@googlemail.com>
Mon, 15 Apr 2013 22:03:33 +0000 (00:03 +0200)
commit0443872acb708f694595ea416ada19d3776dce66
treec4230c9a87d02ca4704d40699959b2302b91badf
parenteb063001977452261176f271c5d78771695ee88b
mac80211: parse Timeout Interval Element using a struct

Instead of open-coding the accesses and length check do
the length check in the IE parser and assign a struct
pointer for use in the remaining code.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
include/linux/ieee80211.h