diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-04-01 05:58:36 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 16:54:39 -0400 |
commit | de95a54b1aebe5592cae971ca5e5d9ec6a381a17 (patch) | |
tree | 55a622d1e61e73cd6426c5e0643ac9fd117a9fe8 /net/wireless/nl80211.c | |
parent | 18a8365992a8041aa178ae9ad5f0d951d0457230 (diff) |
mac80211: pass all probe request IEs to driver
Instead of just passing the cfg80211-requested IEs, pass
the locally generated ones as well.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/nl80211.c')
-rw-r--r-- | net/wireless/nl80211.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 447fa1790b4e..68c51022e9dd 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c | |||
@@ -2597,7 +2597,8 @@ static int nl80211_trigger_scan(struct sk_buff *skb, struct genl_info *info) | |||
2597 | 2597 | ||
2598 | if (info->attrs[NL80211_ATTR_IE]) { | 2598 | if (info->attrs[NL80211_ATTR_IE]) { |
2599 | request->ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); | 2599 | request->ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); |
2600 | memcpy(request->ie, nla_data(info->attrs[NL80211_ATTR_IE]), | 2600 | memcpy((void *)request->ie, |
2601 | nla_data(info->attrs[NL80211_ATTR_IE]), | ||
2601 | request->ie_len); | 2602 | request->ie_len); |
2602 | } | 2603 | } |
2603 | 2604 | ||