diff options
-rw-r--r-- | net/mac80211/work.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/net/mac80211/work.c b/net/mac80211/work.c index 0bffb6a42534..ea89ed70734d 100644 --- a/net/mac80211/work.c +++ b/net/mac80211/work.c | |||
@@ -435,12 +435,6 @@ ieee80211_direct_probe(struct ieee80211_work *wk) | |||
435 | */ | 435 | */ |
436 | ieee80211_remove_auth_bss(local, wk); | 436 | ieee80211_remove_auth_bss(local, wk); |
437 | 437 | ||
438 | /* | ||
439 | * We might have a pending scan which had no chance to run yet | ||
440 | * due to work needing to be done. Hence, queue the STAs work | ||
441 | * again for that. | ||
442 | */ | ||
443 | ieee80211_queue_work(&local->hw, &local->work_work); | ||
444 | return WORK_ACT_TIMEOUT; | 438 | return WORK_ACT_TIMEOUT; |
445 | } | 439 | } |
446 | 440 | ||
@@ -478,12 +472,6 @@ ieee80211_authenticate(struct ieee80211_work *wk) | |||
478 | */ | 472 | */ |
479 | ieee80211_remove_auth_bss(local, wk); | 473 | ieee80211_remove_auth_bss(local, wk); |
480 | 474 | ||
481 | /* | ||
482 | * We might have a pending scan which had no chance to run yet | ||
483 | * due to work needing to be done. Hence, queue the STAs work | ||
484 | * again for that. | ||
485 | */ | ||
486 | ieee80211_queue_work(&local->hw, &local->work_work); | ||
487 | return WORK_ACT_TIMEOUT; | 475 | return WORK_ACT_TIMEOUT; |
488 | } | 476 | } |
489 | 477 | ||
@@ -519,12 +507,6 @@ ieee80211_associate(struct ieee80211_work *wk) | |||
519 | if (wk->assoc.bss) | 507 | if (wk->assoc.bss) |
520 | cfg80211_unlink_bss(local->hw.wiphy, wk->assoc.bss); | 508 | cfg80211_unlink_bss(local->hw.wiphy, wk->assoc.bss); |
521 | 509 | ||
522 | /* | ||
523 | * We might have a pending scan which had no chance to run yet | ||
524 | * due to work needing to be done. Hence, queue the STAs work | ||
525 | * again for that. | ||
526 | */ | ||
527 | ieee80211_queue_work(&local->hw, &local->work_work); | ||
528 | return WORK_ACT_TIMEOUT; | 510 | return WORK_ACT_TIMEOUT; |
529 | } | 511 | } |
530 | 512 | ||