OSDN Git Service

staging: ks7010: Replace local capability constants with kernel constants.
authorQuytelda Kahja <quytelda@tamalin.org>
Thu, 1 Mar 2018 05:19:10 +0000 (21:19 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Mar 2018 16:34:48 +0000 (17:34 +0100)
commitc468d584cd687386c33f730b7c5114501f731e85
treeb80dc6711b412467f0b8cff8267a2ffa217d1b78
parentecad5e1e2012b0986ac398d506379265eb436ba2
staging: ks7010: Replace local capability constants with kernel constants.

This driver defined constants BSS_CAP_* to represent WLAN capability
codes; however, these constants are already defined in the header
'linux/ieee80211.h' as WLAN_CAPABILITY_*.  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
drivers/staging/ks7010/ks_wlan_net.c