staging: rtl8712: remove enum WIFI_FRAME_SUBTYPE
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Thu, 8 Apr 2021 19:58:40 +0000 (21:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Apr 2021 14:14:33 +0000 (16:14 +0200)
commit6e2baa44c6d1f455fae887112f0c2926a7d253e4
treeb57eb1aaca7d62fa3036d08da395066cb2a48f02
parent63ee275711d55d74551265a230f760b660a8c2f8
staging: rtl8712: remove enum WIFI_FRAME_SUBTYPE

The values defined in enum WIFI_FRAME_SUBTYPE are the same the #define
IEEE80211_STYPE_xxx from <linux/ieee80211.h>

Use theses values to avoid code duplication.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/5a6fdcf0b5eb43c3d5511b5badd60bfac9389628.1617911201.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_recv.c
drivers/staging/rtl8712/rtl871x_security.c
drivers/staging/rtl8712/wifi.h