diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-03-31 06:12:05 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 16:54:39 -0400 |
commit | 18a8365992a8041aa178ae9ad5f0d951d0457230 (patch) | |
tree | cb7a461139269feb191e5f5d03c4438cfa9335f2 /net/mac80211/util.c | |
parent | 75c2148fa5330c6de741fc96e3308f57d846a6b4 (diff) |
cfg80211: introduce scan IE limit attribute
This patch introduces a new attribute for a wiphy that tells
userspace how long the information elements added to a probe
request frame can be at most. It also updates the at76 to
advertise that it cannot support that, and, for now until I
can fix that, iwlwifi too.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r-- | net/mac80211/util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index fdf432f14554..05caf34f31da 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c | |||
@@ -890,6 +890,8 @@ void ieee80211_send_probe_req(struct ieee80211_sub_if_data *sdata, u8 *dst, | |||
890 | *pos = rate->bitrate / 5; | 890 | *pos = rate->bitrate / 5; |
891 | } | 891 | } |
892 | 892 | ||
893 | /* if adding more here, adjust max_scan_ie_len */ | ||
894 | |||
893 | if (ie) | 895 | if (ie) |
894 | memcpy(skb_put(skb, ie_len), ie, ie_len); | 896 | memcpy(skb_put(skb, ie_len), ie, ie_len); |
895 | 897 | ||