From: Johannes Berg Date: Wed, 27 Mar 2013 13:38:07 +0000 (+0100) Subject: mac80211: parse Timeout Interval Element using a struct X-Git-Tag: 1.9.9~47 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=0443872acb708f694595ea416ada19d3776dce66;hp=0443872acb708f694595ea416ada19d3776dce66;p=carl9170fw.git 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 Signed-off-by: Christian Lamparter ---