Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225314
b: refs/heads/master
c: d60080a
h: refs/heads/master
v: v3
  • Loading branch information
Eliad Peller authored and Luciano Coelho committed Dec 2, 2010
1 parent 46aa057 commit d16da1a
Show file tree
Hide file tree
Showing 3 changed files with 5 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: 7cb2cea9f0f207f819db9823413fa263175b6230
refs/heads/master: d60080ae06b98790036104f07fa897cfc151ce12
3 changes: 2 additions & 1 deletion trunk/drivers/net/wireless/wl12xx/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,8 @@ int wl1271_debugfs_init(struct wl1271 *wl)
{
int ret;

wl->rootdir = debugfs_create_dir(KBUILD_MODNAME, NULL);
wl->rootdir = debugfs_create_dir(KBUILD_MODNAME,
wl->hw->wiphy->debugfsdir);

if (IS_ERR(wl->rootdir)) {
ret = PTR_ERR(wl->rootdir);
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/wl12xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2602,6 +2602,8 @@ int wl1271_register_hw(struct wl1271 *wl)

wl->mac80211_registered = true;

wl1271_debugfs_init(wl);

register_netdevice_notifier(&wl1271_dev_notifier);

wl1271_notice("loaded");
Expand Down Expand Up @@ -2736,8 +2738,6 @@ struct ieee80211_hw *wl1271_alloc_hw(void)
/* Apply default driver configuration. */
wl1271_conf_init(wl);

wl1271_debugfs_init(wl);

order = get_order(WL1271_AGGR_BUFFER_SIZE);
wl->aggr_buf = (u8 *)__get_free_pages(GFP_KERNEL, order);
if (!wl->aggr_buf) {
Expand Down

0 comments on commit d16da1a

Please sign in to comment.