Commit 119c331f authored by Alan Ott's avatar Alan Ott Committed by David S. Miller

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: default avatarAlan Ott <alan@signal11.us>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cf82dabd
...@@ -478,7 +478,7 @@ static int mrf24j40_filter(struct ieee802154_dev *dev, ...@@ -478,7 +478,7 @@ static int mrf24j40_filter(struct ieee802154_dev *dev,
int i; int i;
for (i = 0; i < 8; i++) for (i = 0; i < 8; i++)
write_short_reg(devrec, REG_EADR0+i, write_short_reg(devrec, REG_EADR0+i,
filt->ieee_addr[i]); filt->ieee_addr[7-i]);
#ifdef DEBUG #ifdef DEBUG
printk(KERN_DEBUG "Set long addr to: "); printk(KERN_DEBUG "Set long addr to: ");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment