projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf82dab
)
mrf24j40: Fix byte-order of IEEE address
author
Alan Ott
<alan@signal11.us>
Mon, 18 Mar 2013 12:06:43 +0000
(12:06 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 19 Mar 2013 14:07:49 +0000
(10:07 -0400)
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>
drivers/net/ieee802154/mrf24j40.c
patch
|
blob
|
history
diff --git
a/drivers/net/ieee802154/mrf24j40.c
b/drivers/net/ieee802154/mrf24j40.c
index b4f9b67b0877ce430149c4a1a840400f50d3c859..0ca8f88ac538f2f735435723dc2bee1ea8c2618c 100644
(file)
--- a/
drivers/net/ieee802154/mrf24j40.c
+++ b/
drivers/net/ieee802154/mrf24j40.c
@@
-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: ");