]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
iwlwifi: refactor pci prob flow
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 15 May 2008 05:54:17 +0000 (13:54 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 22 May 2008 01:48:06 +0000 (21:48 -0400)
commit6ba879562289bcad537a2374754ef750307c7d32
treecdfe183883a2ab093419dd7c6544ea76877f3572
parent445c2dff409ef9de5d2f964d20917ab238fd266f
iwlwifi: refactor pci prob flow

This patch refactores pci prob flow. It moves mac80211 registration
to the end, otherwise there is a race between error path in pci_probe
and mac_start.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl-core.h
drivers/net/wireless/iwlwifi/iwl-eeprom.c
drivers/net/wireless/iwlwifi/iwl4965-base.c