af_ieee802154: fix check on broadcast address
authorAlexander Aring <alex.aring@gmail.com>
Thu, 20 Mar 2014 13:57:02 +0000 (14:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Mar 2014 21:19:45 +0000 (17:19 -0400)
commit06324f2f7c21e3ba3529546063a3ebf7da806ed0
treea91e357e976b5c5a059586d039a0e22429d9bf77
parent3c6f5592203e8126b70717f040c6c59f953068b3
af_ieee802154: fix check on broadcast address

This patch fixes an issue which was introduced by commit
b70ab2e87f17176d18f67ef331064441a032b5f3 ("ieee802154: enforce
consistent endianness in the 802.15.4 stack").

The correct behaviour should be a check on the broadcast address field
which is 0xffff.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Reported-by: Jan Luebbe <jlu@pengutronix.de>
Cc: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ieee802154/af_ieee802154.c
This page took 0.028036 seconds and 5 git commands to generate.