Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 194126
b: refs/heads/master
c: 2f826f5
h: refs/heads/master
v: v3
  • Loading branch information
Luciano Coelho authored and John W. Linville committed Mar 31, 2010
1 parent ecbf554 commit 95f9ce1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 99d84c1de8fdf5f9b09f07fdbc628857a040bf8b
refs/heads/master: 2f826f55404ca43efced94d548356182820e764f
5 changes: 3 additions & 2 deletions trunk/drivers/net/wireless/wl12xx/wl1271_boot.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of wl1271
*
* Copyright (C) 2008-2009 Nokia Corporation
* Copyright (C) 2008-2010 Nokia Corporation
*
* Contact: Luciano Coelho <luciano.coelho@nokia.com>
*
Expand Down Expand Up @@ -411,7 +411,8 @@ static int wl1271_boot_run_firmware(struct wl1271 *wl)
wl->event_mask = BSS_LOSE_EVENT_ID |
SCAN_COMPLETE_EVENT_ID |
PS_REPORT_EVENT_ID |
JOIN_EVENT_COMPLETE_ID;
JOIN_EVENT_COMPLETE_ID |
DISCONNECT_EVENT_COMPLETE_ID;

ret = wl1271_event_unmask(wl);
if (ret < 0) {
Expand Down
6 changes: 5 additions & 1 deletion trunk/drivers/net/wireless/wl12xx/wl1271_cmd.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of wl1271
*
* Copyright (C) 2009 Nokia Corporation
* Copyright (C) 2009-2010 Nokia Corporation
*
* Contact: Luciano Coelho <luciano.coelho@nokia.com>
*
Expand Down Expand Up @@ -942,6 +942,10 @@ int wl1271_cmd_disconnect(struct wl1271 *wl)
goto out_free;
}

ret = wl1271_cmd_wait_for_event(wl, DISCONNECT_EVENT_COMPLETE_ID);
if (ret < 0)
wl1271_error("cmd disconnect event completion error");

out_free:
kfree(cmd);

Expand Down

0 comments on commit 95f9ce1

Please sign in to comment.