]> git.baikalelectronics.ru Git - kernel.git/commit
ieee802154: fix byteorder issues
authorAlexander Aring <alex.aring@gmail.com>
Sun, 2 Nov 2014 20:43:02 +0000 (21:43 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 2 Nov 2014 20:52:02 +0000 (21:52 +0100)
commite2eafb79fa8f526a63f067e3284ac91102b0e630
tree61fe1575899086acad0224374b22437e070a1afb
parent43bf881fe9115c408af88cb39909f0d2d53341fa
ieee802154: fix byteorder issues

This patch fix byteorder issues which occurs because we compare __le64
with an host byteorder value. Simple add a cpu_to_le64 to convert the
host byteorder values to __le64.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Reported-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/linux/ieee802154.h