1 diff -ur madwifi-trunk-r3314/ath/if_ath_ahb.c madwifi-trunk-r3314.patched/ath/if_ath_ahb.c
2 --- madwifi-trunk-r3314/ath/if_ath_ahb.c 2009-05-17 22:16:05.000000000 +0300
3 +++ madwifi-trunk-r3314.patched/ath/if_ath_ahb.c 2009-05-17 22:15:47.000000000 +0300
8 + if (dev_alloc_name(dev, dev->name) < 0) {
9 + printk(KERN_ERR "%s: cannot allocate name\n", dev_info);
14 case AR531X_WLAN0_NUM:
15 if (((devid & AR5315_REV_MAJ_M) == AR5315_REV_MAJ) ||
16 diff -ur madwifi-trunk-r3314/ath/if_ath_pci.c madwifi-trunk-r3314.patched/ath/if_ath_pci.c
17 --- madwifi-trunk-r3314/ath/if_ath_pci.c 2009-05-17 22:16:05.000000000 +0300
18 +++ madwifi-trunk-r3314.patched/ath/if_ath_pci.c 2009-05-17 22:15:47.000000000 +0300
21 sc->aps_sc.sc_invalid = 1;
23 + if (dev_alloc_name(dev, dev->name) < 0) {
24 + printk(KERN_ERR "%s: cannot allocate name\n", dev_info);
30 SET_MODULE_OWNER(dev);