]> git.baikalelectronics.ru Git - kernel.git/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)
commitda3d884712275fb2b49058daab48fc1fd6fa31dd
tree3f13b28d569b69246e2a66bc6e9a9faf54c1f46b
parent353728f6cb707466f60fff5b33bb97701fdf847b
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