]> 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)
commitb3b040bc7f7435cb07b4b3d89056c200657280d8
tree36bd5412dd4278c749cf663fea772d9daa62f3e9
parentd1afd39b260f1f7c4f412c181e996d09544db95b
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