X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=ath%2Fif_ath_pci.c;h=9c704bcfc07211dc2d04cca88877b5c1710a948e;hb=b43465c8f9cecddabb559e01f364b56aa7b73bcc;hp=828122bd3f322014cf385ce88dfc848f2007a2a8;hpb=2c0d8db912df58c3a1b506e144e2b5d72edec617;p=madwifi%2F.git diff --git a/ath/if_ath_pci.c b/ath/if_ath_pci.c index 828122b..9c704bc 100644 --- a/ath/if_ath_pci.c +++ b/ath/if_ath_pci.c @@ -155,7 +155,7 @@ ath_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) * set it to the value used by other systems. It may be worth * tweaking this setting more. */ - pci_write_config_byte(pdev, PCI_LATENCY_TIMER, 0xa8); + pci_write_config_byte(pdev, PCI_LATENCY_TIMER, 0x60); pci_set_master(pdev); @@ -197,10 +197,6 @@ ath_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) sc->aps_sc.sc_invalid = 1; dev->irq = pdev->irq; - /* - * Don't leave arp type as ARPHRD_ETHER as this is no eth device - */ - dev->type = ARPHRD_IEEE80211; SET_MODULE_OWNER(dev); SET_NETDEV_DEV(dev, &pdev->dev);