]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
iwlwifi: dont use pci_dev before it being assign
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Tue, 9 Nov 2010 02:45:21 +0000 (18:45 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 9 Nov 2010 19:25:46 +0000 (14:25 -0500)
commit7379efeacb707f49729080791a7a562d8996aec4
treee83050d6eb26f3eb93f4b3dd8c757d39333fa1dc
parent3e3ede7dda2d77d2cbec608e663b6a6ace501bfc
iwlwifi: dont use pci_dev before it being assign

In order to use build-in debugging macro, pci_dev in priv need to be
assigned first.

This fix iwl3945 driver oopsed at boot with 2.6.37-rc1

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c