summaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-02-07 11:58:58 +0100
committerJohannes Berg <johannes.berg@intel.com>2013-02-15 09:41:29 +0100
commit4a34215ef7487b1cbd783e7cc485eb03de893bd0 (patch)
tree53fed3935c3a9e3138cf952c6ed95d32da05a796 /net/mac80211/ieee80211_i.h
parent8cdc196b743c4224ffa59fef38133559c1fd2a5e (diff)
downloadblackbird-op-linux-4a34215ef7487b1cbd783e7cc485eb03de893bd0.tar.gz
blackbird-op-linux-4a34215ef7487b1cbd783e7cc485eb03de893bd0.zip
mac80211: pass station to ieee80211_vht_cap_ie_to_sta_vht_cap
Like with HT, make things a bit simpler in future patches by passing the station to ieee80211_vht_cap_ie_to_sta_vht_cap() instead of the vht_cap pointer. Also disable VHT here if HT isn't supported. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 8f9564460cb0..9206d43ca572 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -1430,7 +1430,8 @@ u8 ieee80211_mcs_to_chains(const struct ieee80211_mcs_info *mcs);
void ieee80211_vht_cap_ie_to_sta_vht_cap(struct ieee80211_sub_if_data *sdata,
struct ieee80211_supported_band *sband,
struct ieee80211_vht_cap *vht_cap_ie,
- struct ieee80211_sta_vht_cap *vht_cap);
+ struct sta_info *sta);
+
/* Spectrum management */
void ieee80211_process_measurement_req(struct ieee80211_sub_if_data *sdata,
struct ieee80211_mgmt *mgmt,
OpenPOWER on IntegriCloud