Commit 6b8c7574 authored by Allen Pais's avatar Allen Pais Committed by Kalle Valo

rtlwifi: fix build warning

Tasklet conversion patch introduced a build
warning in _rtl_usb_init_rx, this patch fixes the warning.
Reported-by: default avatarkernel test robot <lkp@intel.com>
Fixes: d3ccc14d ("rtlwifi/rtw88: convert tasklets to use new tasklet_setup() API")
Signed-off-by: default avatarAllen Pais <allen.lkml@gmail.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200831043659.281712-1-allen.lkml@gmail.com
parent 5d4650ae
......@@ -310,7 +310,8 @@ static int _rtl_usb_init_rx(struct ieee80211_hw *hw)
init_usb_anchor(&rtlusb->rx_cleanup_urbs);
skb_queue_head_init(&rtlusb->rx_queue);
rtlusb->rx_work_tasklet.func = (void(*)(unsigned long))_rtl_rx_work;
rtlusb->rx_work_tasklet.func = (void(*))_rtl_rx_work;
rtlusb->rx_work_tasklet.data = (unsigned long)&rtlusb->rx_work_tasklet;
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment