]> 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)
commit83ffd3275140b01e5c503f3ede7d3ec47c29a58b
treefaff88285c710cacce1c04beda8074b57b17801a
parentc42b67c170c65d8593e4d9c840818592ae220926
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