]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
iwlwifi: fix error flow in iwl*_pci_probe
authorReinette Chatre <reinette.chatre@intel.com>
Tue, 3 Mar 2009 19:37:04 +0000 (11:37 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Mar 2009 18:43:06 +0000 (13:43 -0500)
commit623d563e52d4d4041612e24b33a5610a900dd778
tree9929b79207e85ca89004f27beeca7aafd18c6668
parentef4bb70d876b4ae5787cc43727477d1a36cdc2e8
iwlwifi: fix error flow in iwl*_pci_probe

Both the agn and 3945 drivers has some problems with dealing with
errors in their probe functions. Ensure that a goto will undo only
things that was done before the goto was called.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl3945-base.c