On Sat, Nov 15, 2008 at 9:53 PM, Bob Copeland <me@xxxxxxxxxxxxxxx> wrote: > On Sat, Nov 15, 2008 at 09:48:13PM -0800, Luis R. Rodriguez wrote: >> Not sure why its 00000001, nor do I know if its poison. One thing I am >> fairly positive about is that the reason why this was wrong all along >> was because we were trying to get the device's ->driver structure to >> get driver->name but the device won't get its ->driver pointer >> assigned until *after* a successful probe. Lets review the PCI probe: > > No, as I later corrected myself, that is pci_dev->driver, but what > mac80211 is using is pci_dev->dev.driver. Right, the dev for the pci_dev which hasn't yet had a driver assigned yet, no? Who assigns the pci_dev's dev's driver pointer and when? Or am I still missing something? Luis -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html