Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183447
b: refs/heads/master
c: 595acf2
h: refs/heads/master
i:
  183445: 23ece8d
  183443: 2fa6317
  183439: 837e4f4
v: v3
  • Loading branch information
hartleys authored and David S. Miller committed Jan 7, 2010
1 parent bdf7c99 commit 3a2046d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 829911725f4bb72c30480aab756704d588c7cd1e
refs/heads/master: 595acf270e098ee3af92890253c5db41bc85de88
11 changes: 2 additions & 9 deletions trunk/drivers/net/wimax/i2400m/fw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1041,21 +1041,14 @@ int i2400m_read_mac_addr(struct i2400m *i2400m)
dev_err(dev, "BM: read mac addr failed: %d\n", result);
goto error_read_mac;
}
d_printf(2, dev,
"mac addr is %02x:%02x:%02x:%02x:%02x:%02x\n",
ack_buf.ack_pl[0], ack_buf.ack_pl[1],
ack_buf.ack_pl[2], ack_buf.ack_pl[3],
ack_buf.ack_pl[4], ack_buf.ack_pl[5]);
d_printf(2, dev, "mac addr is %pM\n", ack_buf.ack_pl);
if (i2400m->bus_bm_mac_addr_impaired == 1) {
ack_buf.ack_pl[0] = 0x00;
ack_buf.ack_pl[1] = 0x16;
ack_buf.ack_pl[2] = 0xd3;
get_random_bytes(&ack_buf.ack_pl[3], 3);
dev_err(dev, "BM is MAC addr impaired, faking MAC addr to "
"mac addr is %02x:%02x:%02x:%02x:%02x:%02x\n",
ack_buf.ack_pl[0], ack_buf.ack_pl[1],
ack_buf.ack_pl[2], ack_buf.ack_pl[3],
ack_buf.ack_pl[4], ack_buf.ack_pl[5]);
"mac addr is %pM\n", ack_buf.ack_pl);
result = 0;
}
net_dev->addr_len = ETH_ALEN;
Expand Down

0 comments on commit 3a2046d

Please sign in to comment.