commit | 653ea7a6a5a912a96affc6443b6e9f42dfce2234 | [log] [tgz] |
---|---|---|
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | Mon Dec 31 13:15:36 2012 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Thu Jan 03 15:32:26 2013 +0100 |
tree | 363613d78e76e4ba66e2250ac94cdc9593082a56 | |
parent | 4fd442db98dadf33ecce6d489bbbc95f6e8d3b31 [diff] |
iwlwifi: don't treat a bool as an error code iwl_trans_grab_nic_access returns a boolean. So ret should explicitely set to an error code and not rely on the value returned by iwl_trans_grab_nic_access. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>