]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: iwlwifi: mei: fix compilation errors in rfkill()
authorGregory Greenman <gregory.greenman@intel.com>
Thu, 26 Jan 2023 22:28:21 +0000 (00:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:32:57 +0000 (09:32 +0100)
commitbdf1a4159e5fddde9eb645bf7a2d244c4797a874
treea88eaf34a489960fa5a091143f1db6058bf64d32
parentd1efe17bee73abd6d10942d1ee528692de566abc
wifi: iwlwifi: mei: fix compilation errors in rfkill()

[ Upstream commit 30db4c9e072c0a2f682b655337190842dcff72e3 ]

The rfkill() callback was invoked with wrong parameters.
It was missed since MEI is defined now as depending on BROKEN.
Fix that.

Fixes: 48b2d377b550 ("wifi: iwlwifi: mei: avoid blocking sap messages handling due to rtnl lock")
Fixes: 14bd28732bfc ("wifi: iwlwifi: mei: make sure ownership confirmed message is sent")
Fixes: cce86c7a3fec ("wifi: iwlwifi: mei: don't send SAP commands if AMT is disabled")
Link: https://lore.kernel.org/r/20230126222821.305122-2-gregory.greenman@intel.com
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/intel/iwlwifi/mei/main.c