]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita5ead30b957f537969e8ce1bc18ec7eda849281c
treeb80dc6711b412467f0b8cff8267a2ffa217d1b78
parent4f8c3a5fbc4aaa2e8cf2a7aafff0b3ef9d16d7b3
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