diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-07-25 08:45:26 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 17:53:26 (GMT) |
commit | 8b5ac31e27135a6f2c210c40d03bf8f1b3a86b77 (patch) | |
tree | 8f045767452fe3bbffcef0aa6af29f8c4b998780 /include/net/ieee80211_radiotap.h | |
parent | b7bbf8fa6ba329b3552b75a0716f5fbc6f839499 (diff) | |
download | linux-fsl-qoriq-8b5ac31e27135a6f2c210c40d03bf8f1b3a86b77.tar.xz |
include: use get/put_unaligned_* helpers
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: "John W. Linville" <linville@tuxdriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/net/ieee80211_radiotap.h')
-rw-r--r-- | include/net/ieee80211_radiotap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ieee80211_radiotap.h b/include/net/ieee80211_radiotap.h index dfd8bf6..d364fd5 100644 --- a/include/net/ieee80211_radiotap.h +++ b/include/net/ieee80211_radiotap.h @@ -262,7 +262,7 @@ static inline int ieee80211_get_radiotap_len(unsigned char *data) struct ieee80211_radiotap_header *hdr = (struct ieee80211_radiotap_header *)data; - return le16_to_cpu(get_unaligned(&hdr->it_len)); + return get_unaligned_le16(&hdr->it_len); } #endif /* IEEE80211_RADIOTAP_H */ |