diff options
author | Johannes Berg <johannes.berg@intel.com> | 2018-05-28 15:47:38 +0200 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2018-06-15 13:34:21 +0200 |
commit | 00387f321537395f62d5c0eca64c2d7838f39ac3 (patch) | |
tree | b893501f3b23f3a2ea21a9b288d7364ccc0eb7cf /net/mac80211/mlme.c | |
parent | db0a4ad80d3aee6f6e96eddc7ef6a88f4e38d357 (diff) | |
download | linux-00387f321537395f62d5c0eca64c2d7838f39ac3.tar.bz2 |
mac80211: add probe request building flags
Add flags to pass through to probe request building and
change the "bool directed" to be one of them.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index a59187c016e0..c3f2883cc0ec 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -2267,7 +2267,8 @@ static void ieee80211_mgd_probe_ap_send(struct ieee80211_sub_if_data *sdata) ieee80211_send_probe_req(sdata, sdata->vif.addr, dst, ssid + 2, ssid_len, NULL, - 0, (u32) -1, true, 0, + 0, (u32) -1, + IEEE80211_PROBE_FLAG_DIRECTED, 0, ifmgd->associated->channel, false); rcu_read_unlock(); } @@ -2370,7 +2371,7 @@ struct sk_buff *ieee80211_ap_probereq_get(struct ieee80211_hw *hw, skb = ieee80211_build_probe_req(sdata, sdata->vif.addr, cbss->bssid, (u32) -1, cbss->channel, ssid + 2, ssid_len, - NULL, 0, true); + NULL, 0, IEEE80211_PROBE_FLAG_DIRECTED); rcu_read_unlock(); return skb; |