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)
committerGregory Greenman <gregory.greenman@intel.com>
Mon, 30 Jan 2023 11:00:25 +0000 (13:00 +0200)
commit9cbd5a8abca904441e36861e3a92961bec41d13f
treeec1d2d7572962f9c692e513695cacf6704f6a811
parent09b4c35d73a59c092cf8466958b62cf896786472
wifi: iwlwifi: mei: fix compilation errors in rfkill()

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

Fixes: d288067ede4b ("wifi: iwlwifi: mei: avoid blocking sap messages handling due to rtnl lock")
Fixes: 5aa7ce31bd84 ("wifi: iwlwifi: mei: make sure ownership confirmed message is sent")
Fixes: 95170a46b7dd ("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>
drivers/net/wireless/intel/iwlwifi/mei/main.c