aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2200.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ipw2200.c')
-rw-r--r--drivers/net/wireless/ipw2200.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c
index 85de9a646f0e..9591ee70f736 100644
--- a/drivers/net/wireless/ipw2200.c
+++ b/drivers/net/wireless/ipw2200.c
@@ -10663,6 +10663,7 @@ static int ipw_up(struct ipw_priv *priv)
10663 if (priv->cmdlog == NULL) { 10663 if (priv->cmdlog == NULL) {
10664 IPW_ERROR("Error allocating %d command log entries.\n", 10664 IPW_ERROR("Error allocating %d command log entries.\n",
10665 cmdlog); 10665 cmdlog);
10666 return -ENOMEM;
10666 } else { 10667 } else {
10667 memset(priv->cmdlog, 0, sizeof(*priv->cmdlog) * cmdlog); 10668 memset(priv->cmdlog, 0, sizeof(*priv->cmdlog) * cmdlog);
10668 priv->cmdlog_len = cmdlog; 10669 priv->cmdlog_len = cmdlog;