diff options
author | Eliad Peller <eliad@wizery.com> | 2011-08-14 06:17:36 -0400 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-08-22 05:35:31 -0400 |
commit | 769d7ac62d328ff2c126fdee461b7d46e7ea89f4 (patch) | |
tree | 9305532dadd2ee0e857f05b26fa399d861af85af /drivers/net | |
parent | bdf91cfae66dd76a093c75cac8f6ada12fd21b83 (diff) |
wl12xx: don't wait for disconnection event
Sometimes the fw doesn't send the DISCONNECT_EVENT_COMPLETE_ID
on station role stop, so don't wait for it.
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/wl12xx/cmd.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/wl12xx/cmd.c b/drivers/net/wireless/wl12xx/cmd.c index d3e938012ac2..817bc183bc83 100644 --- a/drivers/net/wireless/wl12xx/cmd.c +++ b/drivers/net/wireless/wl12xx/cmd.c | |||
@@ -644,12 +644,6 @@ int wl12xx_cmd_role_stop_sta(struct wl1271 *wl) | |||
644 | goto out_free; | 644 | goto out_free; |
645 | } | 645 | } |
646 | 646 | ||
647 | ret = wl1271_cmd_wait_for_event(wl, DISCONNECT_EVENT_COMPLETE_ID); | ||
648 | if (ret < 0) { | ||
649 | wl1271_error("cmd role stop sta event completion error"); | ||
650 | goto out_free; | ||
651 | } | ||
652 | |||
653 | wl12xx_free_link(wl, &wl->sta_hlid); | 647 | wl12xx_free_link(wl, &wl->sta_hlid); |
654 | 648 | ||
655 | out_free: | 649 | out_free: |