mac80211: fix the sparse warnings on endian handling in RANN propagation
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>
Mon, 19 Mar 2012 13:38:46 +0000 (21:38 +0800)
committerChristian Lamparter <chunkeey@googlemail.com>
Sat, 5 May 2012 17:12:56 +0000 (19:12 +0200)
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 <yeohchunyeow@gmail.com>
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

No differences found