OSDN Git Service

staging: ks7010: Replace local frame type constants with kernel constants.
authorQuytelda Kahja <quytelda@tamalin.org>
Thu, 1 Mar 2018 05:19:11 +0000 (21:19 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Mar 2018 16:34:48 +0000 (17:34 +0100)
commit58060d000469a1bb148ae2cb41d7486f9d263704
tree2112be0b8209d90b9afbdaaa3dee77e1be954a30
parentc468d584cd687386c33f730b7c5114501f731e85
staging: ks7010: Replace local frame type constants with kernel constants.

This driver defined constants FRAME_TYPE_* to represent frame control
field codes; however, these constants are already defined in the header
'linux/ieee80211.h' as  IEEE80211_STYPE_*.  This change removes the locally
defined constants and substitutes the kernel's constants.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
Reviewed-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c
drivers/staging/ks7010/ks_hostif.h