iwlwifi: return real info in probe failure
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 28 Nov 2012 14:42:09 +0000 (16:42 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 29 Nov 2012 15:04:27 +0000 (16:04 +0100)
commit59f547ac5ba71a01232b023cb80f1fe05739dbbf
tree6177ff33d53e50ee1628d038b265e5ff959ed8c2
parentb4991f3f7bdc2402a3d7d841eb4376bda4f7a56b
iwlwifi: return real info in probe failure

Don't return a hard coded -EFAULT, but rather the error
that occurred in the flow.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/iwl-drv.c
drivers/net/wireless/iwlwifi/pcie/drv.c