atheros: fix up the wlan mac address if the board data is missing
[openwrt.git] / target / linux / brcm47xx / patches-2.6.25 / 211-b44_bcm4713_phy.patch
1 --- a/drivers/net/b44.c
2 +++ b/drivers/net/b44.c
3 @@ -2094,6 +2094,11 @@ static int __devinit b44_get_invariants(
4 return -EINVAL;
5 }
6
7 + if (bp->sdev->id.coreid == 0x806 && bp->sdev->id.revision == 0x0) {
8 + bp->phy_addr = B44_PHY_ADDR_NO_PHY;
9 + bp->dma_offset = 0;
10 + }
11 +
12 memcpy(bp->dev->perm_addr, bp->dev->dev_addr, bp->dev->addr_len);
13
14 bp->imask = IMASK_DEF;
This page took 0.040593 seconds and 5 git commands to generate.