]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: don't return -ERFKILL if SEND_IF_RFKILL is set
authorEran Harary <eran.harary@intel.com>
Sun, 2 Jun 2013 09:40:34 +0000 (12:40 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Jun 2013 11:14:46 +0000 (13:14 +0200)
commitacc53784a5e6f06672ce95be0735bfb1412198b3
tree36bd5412dd4278c749cf663fea772d9daa62f3e9
parente391d3f8d08beafbc40c4336738be86193713b90
iwlwifi: don't return -ERFKILL if SEND_IF_RFKILL is set

When CMD_SEND_IN_RFKILL is set, it is perfectly legitimate
to send a host command while RFKILL is asserted. In this
case, the host command sending functions should return 0
even if RFKILL is asserted.

Signed-off-by: Eran Harary <eran.harary@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/pcie/tx.c