aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/michael.h
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-07-02 11:05:35 -0700
committerJohn W. Linville <linville@tuxdriver.com>2008-07-08 14:16:01 -0400
commit8e8862b79d2ce9177bfddd85b8328a86a25c69b2 (patch)
tree595f0a47cf20800ee895c9cd6e98817ac1ff71ba /net/mac80211/michael.h
parentf14df8049f9c9f34164dd598772fecea83a394a2 (diff)
downloadkernel_samsung_smdk4412-8e8862b79d2ce9177bfddd85b8328a86a25c69b2.zip
kernel_samsung_smdk4412-8e8862b79d2ce9177bfddd85b8328a86a25c69b2.tar.gz
kernel_samsung_smdk4412-8e8862b79d2ce9177bfddd85b8328a86a25c69b2.tar.bz2
mac80211: remove ieee80211_get_hdr_info
Do the check for sufficient skb->len explicitly and pass a pointer to the struct ieee80211_hdr directly to the michael_mic calculation. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/michael.h')
-rw-r--r--net/mac80211/michael.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/michael.h b/net/mac80211/michael.h
index 69b4501..3b848da 100644
--- a/net/mac80211/michael.h
+++ b/net/mac80211/michael.h
@@ -18,7 +18,7 @@ struct michael_mic_ctx {
u32 l, r;
};
-void michael_mic(const u8 *key, const u8 *da, const u8 *sa, u8 priority,
+void michael_mic(const u8 *key, struct ieee80211_hdr *hdr,
const u8 *data, size_t data_len, u8 *mic);
#endif /* MICHAEL_H */