]> err.no Git - linux-2.6/commit
mac80211: remove one user of ieee80211_get_hdr_info
authorHarvey Harrison <harvey.harrison@gmail.com>
Wed, 2 Jul 2008 18:05:35 +0000 (11:05 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Jul 2008 18:16:00 +0000 (14:16 -0400)
commitf14df8049f9c9f34164dd598772fecea83a394a2
tree3f13b28d569b69246e2a66bc6e9a9faf54c1f46b
parent73e1f7c823252d671361cddde0b498bf2c0fe4e1
mac80211: remove one user of ieee80211_get_hdr_info

ccmp_special_blocks was only using it to calculate data_len,
calculate that directly.

Use unaligned helpers rather than masking/shifting.

Use symbolic constants for the masked frame_control, and do it directly
on a le16 value.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/wpa.c