]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 8 Apr 2013 07:16:58 +0000 (09:16 +0200)
commit91895973810a3ec188aabf5d79be551c2e37c7fb
treefaff88285c710cacce1c04beda8074b57b17801a
parent9b971970eb63b53c6d7c687e168608a9904bafb1
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>
include/linux/ieee80211.h
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/util.c