diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-05-01 22:19:33 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-14 16:29:32 -0400 |
commit | ae7245cbf27ee6b6423bc363cbe01c93e57befda (patch) | |
tree | cf591e82a4ca3bbac2c74fe7a77e6f09fd1a1a44 /net/mac80211/mesh_hwmp.c | |
parent | 5a433b3ad497120d80f1045d37bd1a9ce897388f (diff) | |
download | blackbird-op-linux-ae7245cbf27ee6b6423bc363cbe01c93e57befda.tar.gz blackbird-op-linux-ae7245cbf27ee6b6423bc363cbe01c93e57befda.zip |
wireless: use get/put_unaligned_* helpers
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mesh_hwmp.c')
-rw-r--r-- | net/mac80211/mesh_hwmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mesh_hwmp.c b/net/mac80211/mesh_hwmp.c index 3df809222d1c..23689733e29a 100644 --- a/net/mac80211/mesh_hwmp.c +++ b/net/mac80211/mesh_hwmp.c @@ -26,7 +26,7 @@ static inline u32 u32_field_get(u8 *preq_elem, int offset, bool ae) { if (ae) offset += 6; - return le32_to_cpu(get_unaligned((__le32 *) (preq_elem + offset))); + return get_unaligned_le32(preq_elem + offset); } /* HWMP IE processing macros */ |