Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215035
b: refs/heads/master
c: 76a029f
h: refs/heads/master
i:
  215033: b52bb0c
  215031: 82304b5
v: v3
  • Loading branch information
Juuso Oikarinen authored and Luciano Coelho committed Sep 28, 2010
1 parent 1eefde9 commit e07486d
Show file tree
Hide file tree
Showing 3 changed files with 3 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: c2c192ac6c16e2e8f5cc8cf54e02bb1d4e0e761d
refs/heads/master: 76a029fbfb18c42f75c891842df26605ef87add0
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/wl12xx/wl1271_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1015,10 +1015,10 @@ static void wl1271_op_remove_interface(struct ieee80211_hw *hw,
ieee80211_enable_dyn_ps(wl->vif);

if (wl->scan.state != WL1271_SCAN_STATE_IDLE) {
ieee80211_scan_completed(wl->hw, true);
wl->scan.state = WL1271_SCAN_STATE_IDLE;
kfree(wl->scan.scanned_ch);
wl->scan.scanned_ch = NULL;
ieee80211_scan_completed(wl->hw, true);
}

wl->state = WL1271_STATE_OFF;
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/net/wireless/wl12xx/wl1271_scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,12 +215,11 @@ void wl1271_scan_stm(struct wl1271 *wl)
break;

case WL1271_SCAN_STATE_DONE:
ieee80211_scan_completed(wl->hw, false);

kfree(wl->scan.scanned_ch);
wl->scan.scanned_ch = NULL;

wl->scan.state = WL1271_SCAN_STATE_IDLE;
ieee80211_scan_completed(wl->hw, false);
break;

default:
Expand Down

0 comments on commit e07486d

Please sign in to comment.