diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-07-02 11:05:35 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-07-08 14:16:01 -0400 |
commit | 8e8862b79d2ce9177bfddd85b8328a86a25c69b2 (patch) | |
tree | 595f0a47cf20800ee895c9cd6e98817ac1ff71ba /net/mac80211/michael.h | |
parent | f14df8049f9c9f34164dd598772fecea83a394a2 (diff) | |
download | op-kernel-dev-8e8862b79d2ce9177bfddd85b8328a86a25c69b2.zip op-kernel-dev-8e8862b79d2ce9177bfddd85b8328a86a25c69b2.tar.gz |
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.h | 2 |
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 */ |