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>

authored by Wey-Yi Guy and committed by John W. Linville 7379efea 3e3ede7d

+2 -1
+2 -1
drivers/net/wireless/iwlwifi/iwl3945-base.c
··· 4000 * "the hard way", rather than using device's scan. 4001 */ 4002 if (iwl3945_mod_params.disable_hw_scan) { 4003 - IWL_ERR(priv, "sw scan support is deprecated\n"); 4004 iwl3945_hw_ops.hw_scan = NULL; 4005 } 4006
··· 4000 * "the hard way", rather than using device's scan. 4001 */ 4002 if (iwl3945_mod_params.disable_hw_scan) { 4003 + dev_printk(KERN_DEBUG, &(pdev->dev), 4004 + "sw scan support is deprecated\n"); 4005 iwl3945_hw_ops.hw_scan = NULL; 4006 } 4007