Revert "staging: r8188eu: use in-kernel ieee channel"

This reverts commit 0afaa12181 as changing
rtw_ieee80211_channel to ieee80211_channel causes a memcpy bug as
reported in:
	https://lore.kernel.org/linux-staging/67e2d10b-7f0f-9c5a-ce31-376b83ffba9e@gmail.com/
due to their size differences.

Fixes: 0afaa12181 ("staging: r8188eu: use in-kernel ieee channel")
Reported-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Solomon Tan <wjsota@gmail.com>
Link: https://lore.kernel.org/r/20220425052802.2419-1-wjsota@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Solomon Tan 2022-04-25 13:28:03 +08:00 • committed by Greg Kroah-Hartman
commit 8896ac5d0d
5 changed files with 48 additions and 16 deletions