Skip to content

Commit

Permalink
wl12xx: don't wait for disconnection event
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eliad Peller authored and Luciano Coelho committed Aug 22, 2011
1 parent bdf91cf commit 769d7ac
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/net/wireless/wl12xx/cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -644,12 +644,6 @@ int wl12xx_cmd_role_stop_sta(struct wl1271 *wl)
goto out_free;
}

ret = wl1271_cmd_wait_for_event(wl, DISCONNECT_EVENT_COMPLETE_ID);
if (ret < 0) {
wl1271_error("cmd role stop sta event completion error");
goto out_free;
}

wl12xx_free_link(wl, &wl->sta_hlid);

out_free:
Expand Down

0 comments on commit 769d7ac

Please sign in to comment.