]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "staging: r8188eu: use in-kernel ieee channel"
authorSolomon Tan <wjsota@gmail.com>
Mon, 25 Apr 2022 05:28:03 +0000 (13:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Apr 2022 09:28:35 +0000 (11:28 +0200)
commiteb0a0f0460daf049c5a80890965d12006ebe0493
tree3b70ae207e18cf65c4d520237064b7eb29966b34
parent2d79783558959619a088148d9e1c12b3a3397284
Revert "staging: r8188eu: use in-kernel ieee channel"

This reverts commit f37ec450b7b9f710b35d795e92f7c9e1b40484eb 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: f37ec450b7b9 ("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>
drivers/staging/r8188eu/core/rtw_cmd.c
drivers/staging/r8188eu/core/rtw_mlme_ext.c
drivers/staging/r8188eu/include/ieee80211.h
drivers/staging/r8188eu/include/rtw_cmd.h
drivers/staging/r8188eu/include/rtw_mlme_ext.h