diff options
-rw-r--r-- | net/mac80211/mlme.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 9a264379d7b1..6faa7006681a 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -4128,6 +4128,14 @@ ieee80211_sta_scan_result(struct net_device *dev, | |||
4128 | bss->rsn_ie); | 4128 | bss->rsn_ie); |
4129 | } | 4129 | } |
4130 | 4130 | ||
4131 | if (bss && bss->ht_ie) { | ||
4132 | memset(&iwe, 0, sizeof(iwe)); | ||
4133 | iwe.cmd = IWEVGENIE; | ||
4134 | iwe.u.data.length = bss->ht_ie_len; | ||
4135 | current_ev = iwe_stream_add_point(current_ev, end_buf, &iwe, | ||
4136 | bss->ht_ie); | ||
4137 | } | ||
4138 | |||
4131 | if (bss && bss->supp_rates_len > 0) { | 4139 | if (bss && bss->supp_rates_len > 0) { |
4132 | /* display all supported rates in readable format */ | 4140 | /* display all supported rates in readable format */ |
4133 | char *p = current_ev + IW_EV_LCP_LEN; | 4141 | char *p = current_ev + IW_EV_LCP_LEN; |