aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/libertas/cmd.c')
-rw-r--r--drivers/net/wireless/libertas/cmd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c
index e7f07c3098f4..f2e027b58101 100644
--- a/drivers/net/wireless/libertas/cmd.c
+++ b/drivers/net/wireless/libertas/cmd.c
@@ -1280,7 +1280,6 @@ static void __lbs_cleanup_and_insert_cmd(struct lbs_private *priv,
1280 if (!cmdnode) 1280 if (!cmdnode)
1281 goto out; 1281 goto out;
1282 1282
1283 cmdnode->pdata_buf = NULL;
1284 cmdnode->callback = NULL; 1283 cmdnode->callback = NULL;
1285 cmdnode->callback_arg = 0; 1284 cmdnode->callback_arg = 0;
1286 1285
@@ -1801,9 +1800,8 @@ static void lbs_set_cmd_ctrl_node(struct lbs_private *priv,
1801 if (!ptempnode) 1800 if (!ptempnode)
1802 return; 1801 return;
1803 1802
1804 ptempnode->pdata_buf = pdata_buf;
1805 ptempnode->callback = NULL; 1803 ptempnode->callback = NULL;
1806 ptempnode->callback_arg = 0; 1804 ptempnode->callback_arg = (unsigned long)pdata_buf;
1807 1805
1808 lbs_deb_leave(LBS_DEB_HOST); 1806 lbs_deb_leave(LBS_DEB_HOST);
1809} 1807}