diff options
Diffstat (limited to 'net/mac80211/work.c')
-rw-r--r-- | net/mac80211/work.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/net/mac80211/work.c b/net/mac80211/work.c index 380b9a7462b6..94472eb34d76 100644 --- a/net/mac80211/work.c +++ b/net/mac80211/work.c | |||
@@ -229,11 +229,9 @@ static void ieee80211_send_assoc(struct ieee80211_sub_if_data *sdata, | |||
229 | wk->ie_len + /* extra IEs */ | 229 | wk->ie_len + /* extra IEs */ |
230 | 9, /* WMM */ | 230 | 9, /* WMM */ |
231 | GFP_KERNEL); | 231 | GFP_KERNEL); |
232 | if (!skb) { | 232 | if (!skb) |
233 | printk(KERN_DEBUG "%s: failed to allocate buffer for assoc " | ||
234 | "frame\n", sdata->name); | ||
235 | return; | 233 | return; |
236 | } | 234 | |
237 | skb_reserve(skb, local->hw.extra_tx_headroom); | 235 | skb_reserve(skb, local->hw.extra_tx_headroom); |
238 | 236 | ||
239 | capab = WLAN_CAPABILITY_ESS; | 237 | capab = WLAN_CAPABILITY_ESS; |
@@ -460,7 +458,7 @@ ieee80211_direct_probe(struct ieee80211_work *wk) | |||
460 | */ | 458 | */ |
461 | ieee80211_send_probe_req(sdata, NULL, wk->probe_auth.ssid, | 459 | ieee80211_send_probe_req(sdata, NULL, wk->probe_auth.ssid, |
462 | wk->probe_auth.ssid_len, NULL, 0, | 460 | wk->probe_auth.ssid_len, NULL, 0, |
463 | (u32) -1, true); | 461 | (u32) -1, true, false); |
464 | 462 | ||
465 | wk->timeout = jiffies + IEEE80211_AUTH_TIMEOUT; | 463 | wk->timeout = jiffies + IEEE80211_AUTH_TIMEOUT; |
466 | run_again(local, wk->timeout); | 464 | run_again(local, wk->timeout); |
@@ -579,7 +577,7 @@ ieee80211_offchannel_tx(struct ieee80211_work *wk) | |||
579 | /* | 577 | /* |
580 | * After this, offchan_tx.frame remains but now is no | 578 | * After this, offchan_tx.frame remains but now is no |
581 | * longer a valid pointer -- we still need it as the | 579 | * longer a valid pointer -- we still need it as the |
582 | * cookie for canceling this work. | 580 | * cookie for canceling this work/status matching. |
583 | */ | 581 | */ |
584 | ieee80211_tx_skb(wk->sdata, wk->offchan_tx.frame); | 582 | ieee80211_tx_skb(wk->sdata, wk->offchan_tx.frame); |
585 | 583 | ||