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)
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>

No differences found