X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fmac80211%2Fmesh_hwmp.c;h=7fa149e230e6fc3cfecad043ad82ae4c204611fa;hb=14db74bcc3f7a779cf395a47e26b06a28207571a;hp=af0cd1e3e2131136026b0851aad60f42db31825f;hpb=860da5e578c25d1ab4528c0d1ad13f9969e3490f;p=linux-2.6 diff --git a/net/mac80211/mesh_hwmp.c b/net/mac80211/mesh_hwmp.c index af0cd1e3e2..7fa149e230 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 */