diff options
Diffstat (limited to 'drivers/net/wireless/libertas/debugfs.c')
-rw-r--r-- | drivers/net/wireless/libertas/debugfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/debugfs.c b/drivers/net/wireless/libertas/debugfs.c index 1d880e7973ba..eb1cee42ccef 100644 --- a/drivers/net/wireless/libertas/debugfs.c +++ b/drivers/net/wireless/libertas/debugfs.c | |||
@@ -402,11 +402,11 @@ static int libertas_event_initcmd(wlan_private *priv, void **response_buf, | |||
402 | u16 wait_option = cmd_option_waitforrsp; | 402 | u16 wait_option = cmd_option_waitforrsp; |
403 | 403 | ||
404 | if (!(*cmdnode = libertas_get_free_cmd_ctrl_node(priv))) { | 404 | if (!(*cmdnode = libertas_get_free_cmd_ctrl_node(priv))) { |
405 | lbs_pr_debug(1, "failed libertas_get_free_cmd_ctrl_node\n"); | 405 | lbs_deb_debugfs("failed libertas_get_free_cmd_ctrl_node\n"); |
406 | return -ENOMEM; | 406 | return -ENOMEM; |
407 | } | 407 | } |
408 | if (!(*response_buf = kmalloc(3000, GFP_KERNEL))) { | 408 | if (!(*response_buf = kmalloc(3000, GFP_KERNEL))) { |
409 | lbs_pr_debug(1, "failed to allocate response buffer!\n"); | 409 | lbs_deb_debugfs("failed to allocate response buffer!\n"); |
410 | return -ENOMEM; | 410 | return -ENOMEM; |
411 | } | 411 | } |
412 | libertas_set_cmd_ctrl_node(priv, *cmdnode, 0, wait_option, NULL); | 412 | libertas_set_cmd_ctrl_node(priv, *cmdnode, 0, wait_option, NULL); |
@@ -1864,7 +1864,7 @@ static ssize_t wlan_debugfs_write(struct file *f, const char __user *buf, | |||
1864 | return 0; | 1864 | return 0; |
1865 | 1865 | ||
1866 | if (copy_from_user(pdata, buf, cnt)) { | 1866 | if (copy_from_user(pdata, buf, cnt)) { |
1867 | lbs_pr_debug(1, "Copy from user failed\n"); | 1867 | lbs_deb_debugfs("Copy from user failed\n"); |
1868 | kfree(pdata); | 1868 | kfree(pdata); |
1869 | return 0; | 1869 | return 0; |
1870 | } | 1870 | } |