diff options
author | Alan Ott <alan@signal11.us> | 2013-03-18 08:06:43 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-19 10:07:49 -0400 |
commit | 119c331f166ab1c55ac40c9840d180dac91f0cff (patch) | |
tree | 0642988f293eb31cd5dcdb7c899223dc147943ba | |
parent | cf82dabd29168b19c4ac651a11010ded34785142 (diff) |
mrf24j40: Fix byte-order of IEEE address
Load the 64-bit Extended (IEEE) address into the hardware in the proper
byte order.
Signed-off-by: Alan Ott <alan@signal11.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ieee802154/mrf24j40.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ieee802154/mrf24j40.c b/drivers/net/ieee802154/mrf24j40.c index b4f9b67b0877..0ca8f88ac538 100644 --- a/drivers/net/ieee802154/mrf24j40.c +++ b/drivers/net/ieee802154/mrf24j40.c | |||
@@ -478,7 +478,7 @@ static int mrf24j40_filter(struct ieee802154_dev *dev, | |||
478 | int i; | 478 | int i; |
479 | for (i = 0; i < 8; i++) | 479 | for (i = 0; i < 8; i++) |
480 | write_short_reg(devrec, REG_EADR0+i, | 480 | write_short_reg(devrec, REG_EADR0+i, |
481 | filt->ieee_addr[i]); | 481 | filt->ieee_addr[7-i]); |
482 | 482 | ||
483 | #ifdef DEBUG | 483 | #ifdef DEBUG |
484 | printk(KERN_DEBUG "Set long addr to: "); | 484 | printk(KERN_DEBUG "Set long addr to: "); |