Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rtw89: core: Temporarily disable check for HW RF kill
- This patch comments out the default logic in rtw89_chip_has_rfkill()
- and hardcodes it to return false.
- This is very hacky and will eventually be replaced with a driver option. I'm
- just extremely lazy :P
- --- a/drivers/net/wireless/realtek/rtw89/core.c
- +++ b/drivers/net/wireless/realtek/rtw89/core.c
- @@ -754,7 +754,8 @@
- static bool rtw89_chip_has_rfkill(struct rtw89_dev *rtwdev)
- {
- - return !!rtwdev->chip->rfkill_init;
- + // return !!rtwdev->chip->rfkill_init;
- + return false;
- }
- static void rtw89_chip_set_rfkill(struct rtw89_dev *rtwdev, bool blocked)
Advertisement
Add Comment
Please, Sign In to add comment