diff options
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index ec5a0900cba0..5a4977936f6f 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -716,7 +716,7 @@ static void ieee80211_direct_probe(struct ieee80211_sub_if_data *sdata) | |||
716 | * will not answer to direct packet in unassociated state. | 716 | * will not answer to direct packet in unassociated state. |
717 | */ | 717 | */ |
718 | ieee80211_send_probe_req(sdata, NULL, | 718 | ieee80211_send_probe_req(sdata, NULL, |
719 | ifmgd->ssid, ifmgd->ssid_len); | 719 | ifmgd->ssid, ifmgd->ssid_len, NULL, 0); |
720 | 720 | ||
721 | mod_timer(&ifmgd->timer, jiffies + IEEE80211_AUTH_TIMEOUT); | 721 | mod_timer(&ifmgd->timer, jiffies + IEEE80211_AUTH_TIMEOUT); |
722 | } | 722 | } |
@@ -946,7 +946,8 @@ static void ieee80211_associated(struct ieee80211_sub_if_data *sdata) | |||
946 | } else | 946 | } else |
947 | ieee80211_send_probe_req(sdata, ifmgd->bssid, | 947 | ieee80211_send_probe_req(sdata, ifmgd->bssid, |
948 | ifmgd->ssid, | 948 | ifmgd->ssid, |
949 | ifmgd->ssid_len); | 949 | ifmgd->ssid_len, |
950 | NULL, 0); | ||
950 | ifmgd->flags ^= IEEE80211_STA_PROBEREQ_POLL; | 951 | ifmgd->flags ^= IEEE80211_STA_PROBEREQ_POLL; |
951 | } else { | 952 | } else { |
952 | ifmgd->flags &= ~IEEE80211_STA_PROBEREQ_POLL; | 953 | ifmgd->flags &= ~IEEE80211_STA_PROBEREQ_POLL; |
@@ -955,7 +956,8 @@ static void ieee80211_associated(struct ieee80211_sub_if_data *sdata) | |||
955 | ifmgd->last_probe = jiffies; | 956 | ifmgd->last_probe = jiffies; |
956 | ieee80211_send_probe_req(sdata, ifmgd->bssid, | 957 | ieee80211_send_probe_req(sdata, ifmgd->bssid, |
957 | ifmgd->ssid, | 958 | ifmgd->ssid, |
958 | ifmgd->ssid_len); | 959 | ifmgd->ssid_len, |
960 | NULL, 0); | ||
959 | } | 961 | } |
960 | } | 962 | } |
961 | } | 963 | } |