From: Chun-Yeow Yeoh Date: Mon, 19 Mar 2012 13:38:46 +0000 (+0800) Subject: mac80211: fix the sparse warnings on endian handling in RANN propagation X-Git-Tag: 1.9.6~10 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=8db57a27c9083a7ad243284afd27a5589fef78d5;hp=8db57a27c9083a7ad243284afd27a5589fef78d5;p=carl9170fw.git mac80211: fix the sparse warnings on endian handling in RANN propagation The HWMP sequence number of received RANN element is compared to decide whether to be propagated. The sequence number is required to covert from 32bit little endian data into CPUs endianness for comparison. The same applies to the RANN metric. Signed-off-by: Chun-Yeow Yeoh Signed-off-by: Javier Cardona Signed-off-by: John W. Linville Signed-off-by: Christian Lamparter ---