Skip to content

Commit

Permalink
mrf24j40: Fix byte-order of IEEE address
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan Ott authored and David S. Miller committed Mar 19, 2013
1 parent cf82dab commit 119c331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ieee802154/mrf24j40.c
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ static int mrf24j40_filter(struct ieee802154_dev *dev,
int i;
for (i = 0; i < 8; i++)
write_short_reg(devrec, REG_EADR0+i,
filt->ieee_addr[i]);
filt->ieee_addr[7-i]);

#ifdef DEBUG
printk(KERN_DEBUG "Set long addr to: ");
Expand Down

0 comments on commit 119c331

Please sign in to comment.