staging: r8188eu: use in-kernel ieee channel
authorSolomon Tan <wjsota@gmail.com>
Thu, 21 Apr 2022 23:52:38 +0000 (07:52 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Apr 2022 14:46:32 +0000 (16:46 +0200)
commit0afaa121813ed602bd203759c339cb639493f8c2
tree8d1728916831a8c5487bf59d1daeb077aea600a8
parent9c40dba84c79144198bacd0740c5269e7018d1ab
staging: r8188eu: use in-kernel ieee channel

Use the in-kernel structure and flags instead of defining a separate
one. The rtw_ieee80211_channel structure and flags can be replaced by
the ieee80211_channel defined in include/net/cfg80211.h since the flags
serve the same purpose and the ieee80211_channel struct includes the
elements used in the rtw_ieee80211_channel struct.

Signed-off-by: Solomon Tan <wjsota@gmail.com>
Link: https://lore.kernel.org/r/20220421235237.4218-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