]> git.karo-electronics.de Git - linux-beck.git/commit
staging: rtl8188eu: don't duplicate ieee80211 WLAN_CAPABILITY_* constants
authorJakub Sitnicki <jsitnicki@gmail.com>
Fri, 26 Jun 2015 05:50:34 +0000 (07:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jul 2015 03:07:42 +0000 (20:07 -0700)
commit027d3efd933d87ca3d9a28365cae795c14e7a563
tree5d0966c8c0cf514f03d0ad3be5c7357bf5975a8d
parenteb90d44de7e6c7498a21e8de2935123395bbc31b
staging: rtl8188eu: don't duplicate ieee80211 WLAN_CAPABILITY_* constants

linux/ieee80211.h already defines constants for capability bits.
Include it where needed, resolve discrepancies in naming, and remove the
duplicated definitions.

Also, make use of WLAN_CAPABILITY_IS_STA_BSS() macro to check if neither
ESS nor IBSS capability bits are set.

Signed-off-by: Jakub Sitnicki <jsitnicki@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_ap.c
drivers/staging/rtl8188eu/core/rtw_ieee80211.c
drivers/staging/rtl8188eu/core/rtw_mlme.c
drivers/staging/rtl8188eu/core/rtw_wlan_util.c
drivers/staging/rtl8188eu/include/ieee80211.h
drivers/staging/rtl8188eu/os_dep/ioctl_linux.c