diff options
author | Quytelda Kahja <quytelda@tamalin.org> | 2018-03-27 01:40:57 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-29 11:59:27 +0200 |
commit | c3e96015be4fe69e31acabfe5b8b6e03bd621f1f (patch) | |
tree | 314d7ed577b6f7470f971d659ccc73bcb7512fc3 /drivers/staging/rtl8723bs/os_dep | |
parent | staging: rtl8723bs: Replace RTW_IEEE80211_FTYPE_* with IEEE80211_FTYPE_*. (diff) | |
download | linux-dev-c3e96015be4fe69e31acabfe5b8b6e03bd621f1f.tar.xz linux-dev-c3e96015be4fe69e31acabfe5b8b6e03bd621f1f.zip |
staging: rtl8723bs: Replace RTW_IEEE80211_STYPE_* with IEEE80211_STYPE_*.
This driver defines the constants RTW_IEEE80211_STYPE_*, but all these
values are already defined in 'linux/ieee80211.h' as IEEE80211_STYPE_*.
Remove the locally defined constants, and substitute the kernel constants.
Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs/os_dep')
-rw-r--r-- | drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c index 4b84965ec5c5..46bc2e512557 100644 --- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c @@ -2546,7 +2546,7 @@ static int rtw_cfg80211_monitor_if_xmit_entry(struct sk_buff *skb, struct net_de } else if ((frame_control & (IEEE80211_FCTL_FTYPE|IEEE80211_FCTL_STYPE)) - == (IEEE80211_FTYPE_MGMT|RTW_IEEE80211_STYPE_ACTION) + == (IEEE80211_FTYPE_MGMT|IEEE80211_STYPE_ACTION) ) { /* only for action frames */ |