Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 194240
b: refs/heads/master
c: bd9dc49
h: refs/heads/master
v: v3
  • Loading branch information
Juuso Oikarinen authored and John W. Linville committed Apr 9, 2010
1 parent e2f484a commit e41e529
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 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: c15cf5fcf9ea0a7749536c201965370d99c86c7f
refs/heads/master: bd9dc49cd565aeb20d4f6eb2f6af4c16acce2ef5
9 changes: 8 additions & 1 deletion trunk/drivers/net/wireless/wl12xx/wl1271_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1093,6 +1093,14 @@ static void wl1271_op_remove_interface(struct ieee80211_hw *hw,
wl->tx_blocks_freed[i] = 0;

wl1271_debugfs_reset(wl);

kfree(wl->fw_status);
wl->fw_status = NULL;
kfree(wl->tx_res_if);
wl->tx_res_if = NULL;
kfree(wl->target_mem_map);
wl->target_mem_map = NULL;

mutex_unlock(&wl->mutex);
}

Expand Down Expand Up @@ -2387,7 +2395,6 @@ int wl1271_free_hw(struct wl1271 *wl)

wl1271_debugfs_exit(wl);

kfree(wl->target_mem_map);
vfree(wl->fw);
wl->fw = NULL;
kfree(wl->nvs);
Expand Down

0 comments on commit e41e529

Please sign in to comment.