diff options
author | Ivan Safonov <insafonov@gmail.com> | 2016-08-24 08:21:33 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-01 16:01:40 (GMT) |
commit | cfecac2e22ddae7437893da84552da2f4236be92 (patch) | |
tree | e0d03929408f2ec3580bb775bd684a53f4b6589c /drivers/staging/rtl8188eu/include | |
parent | c7873d8bad59be2886046548e0e0b16d2529dce1 (diff) | |
download | linux-cfecac2e22ddae7437893da84552da2f4236be92.tar.xz |
staging: r8188eu: change rtw_ieee80211_ht_cap type of structures members to ieee80211_ht_cap
Also cap_info member of ieee80211_ht_cap wrapped by le16_to_cpu function.
Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/include')
-rw-r--r-- | drivers/staging/rtl8188eu/include/ieee80211.h | 4 | ||||
-rw-r--r-- | drivers/staging/rtl8188eu/include/rtw_ht.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/rtl8188eu/include/ieee80211.h b/drivers/staging/rtl8188eu/include/ieee80211.h index e45ef14..b57f5d7 100644 --- a/drivers/staging/rtl8188eu/include/ieee80211.h +++ b/drivers/staging/rtl8188eu/include/ieee80211.h @@ -239,7 +239,7 @@ struct ieee_param { u16 capability; int flags; u8 tx_supp_rates[16]; - struct rtw_ieee80211_ht_cap ht_cap; + struct ieee80211_ht_cap ht_cap; } add_sta; struct { u8 reserved[2];/* for set max_num_sta */ @@ -264,7 +264,7 @@ struct sta_data { u32 sta_set; u8 tx_supp_rates[16]; u32 tx_supp_rates_len; - struct rtw_ieee80211_ht_cap ht_cap; + struct ieee80211_ht_cap ht_cap; u64 rx_pkts; u64 rx_bytes; u64 rx_drops; diff --git a/drivers/staging/rtl8188eu/include/rtw_ht.h b/drivers/staging/rtl8188eu/include/rtw_ht.h index b45483f..7beb0b1 100644 --- a/drivers/staging/rtl8188eu/include/rtw_ht.h +++ b/drivers/staging/rtl8188eu/include/rtw_ht.h @@ -15,8 +15,8 @@ #ifndef _RTW_HT_H_ #define _RTW_HT_H_ +#include <linux/ieee80211.h> #include <osdep_service.h> -#include "wifi.h" struct ht_priv { u32 ht_option; @@ -33,7 +33,7 @@ struct ht_priv { u8 agg_enable_bitmap; u8 candidate_tid_bitmap; - struct rtw_ieee80211_ht_cap ht_cap; + struct ieee80211_ht_cap ht_cap; }; #endif /* _RTL871X_HT_H_ */ |