]> git.karo-electronics.de Git - linux-beck.git/commit
iwlwifi: don't treat a bool as an error code
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 31 Dec 2012 11:15:36 +0000 (13:15 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 14:32:26 +0000 (15:32 +0100)
commit653ea7a6a5a912a96affc6443b6e9f42dfce2234
tree363613d78e76e4ba66e2250ac94cdc9593082a56
parent4fd442db98dadf33ecce6d489bbbc95f6e8d3b31
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>
drivers/net/wireless/iwlwifi/dvm/mac80211.c