diff options
Diffstat (limited to 'net/wireless')
-rw-r--r-- | net/wireless/nl80211.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 258fb881c8e3..f395a06c114a 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c | |||
@@ -759,6 +759,10 @@ static int nl80211_send_wiphy(struct sk_buff *msg, u32 pid, u32 seq, int flags, | |||
759 | NLA_PUT_U32(msg, NL80211_ATTR_WIPHY_ANTENNA_AVAIL_RX, | 759 | NLA_PUT_U32(msg, NL80211_ATTR_WIPHY_ANTENNA_AVAIL_RX, |
760 | dev->wiphy.available_antennas_rx); | 760 | dev->wiphy.available_antennas_rx); |
761 | 761 | ||
762 | if (dev->wiphy.flags & WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD) | ||
763 | NLA_PUT_U32(msg, NL80211_ATTR_PROBE_RESP_OFFLOAD, | ||
764 | dev->wiphy.probe_resp_offload); | ||
765 | |||
762 | if ((dev->wiphy.available_antennas_tx || | 766 | if ((dev->wiphy.available_antennas_tx || |
763 | dev->wiphy.available_antennas_rx) && dev->ops->get_antenna) { | 767 | dev->wiphy.available_antennas_rx) && dev->ops->get_antenna) { |
764 | u32 tx_ant = 0, rx_ant = 0; | 768 | u32 tx_ant = 0, rx_ant = 0; |