diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-11-06 14:13:33 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-09 16:14:08 -0500 |
commit | 1f074bd8eb7a4a210a5119cd7220f89da6c7a2c3 (patch) | |
tree | 336706ad776cf96ce67ae0889f4fb93311c0d29a /net/wireless/nl80211.c | |
parent | e41215626607f2e9b2227504a8965389a1ba1a25 (diff) | |
download | lwn-1f074bd8eb7a4a210a5119cd7220f89da6c7a2c3.tar.gz lwn-1f074bd8eb7a4a210a5119cd7220f89da6c7a2c3.zip |
nl80211: advertise socket TX status capability
The new wifi socket TX capability should be
supported by wifi drivers, let them advertise
whether they do or not.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/nl80211.c')
-rw-r--r-- | net/wireless/nl80211.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 0ef09415c89a..864fcb6f217e 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -1017,6 +1017,8 @@ static int nl80211_send_wiphy(struct sk_buff *msg, u32 pid, u32 seq, int flags, NLA_PUT_U32(msg, NL80211_ATTR_DEVICE_AP_SME, dev->wiphy.ap_sme_capa); + NLA_PUT_U32(msg, NL80211_ATTR_FEATURE_FLAGS, dev->wiphy.features); + return genlmsg_end(msg, hdr); nla_put_failure: |