]> err.no Git - linux-2.6/blobdiff - net/mac80211/mesh_hwmp.c
bridge: fix compile warning in net/bridge/br_netfilter.c
[linux-2.6] / net / mac80211 / mesh_hwmp.c
index af0cd1e3e2131136026b0851aad60f42db31825f..7fa149e230e6fc3cfecad043ad82ae4c204611fa 100644 (file)
@@ -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 */