projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8fe667
)
[PATCH] ipw2200: Mask out the WEP_KEY command dump from debug log for security reason
author
Zhu Yi
<yi.zhu@intel.com>
Tue, 24 Jan 2006 08:36:44 +0000
(16:36 +0800)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 31 Jan 2006 01:35:32 +0000
(20:35 -0500)
Signed-off-by: Nick Kralevich <nick.ipw2200@kralevich.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ipw2200.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/ipw2200.c
b/drivers/net/wireless/ipw2200.c
index d7d24b6facfecb62a5cdabd5924ddbc6128b9595..b40bfa06372534099a2144c83908ff6c8c9f15d0 100644
(file)
--- a/
drivers/net/wireless/ipw2200.c
+++ b/
drivers/net/wireless/ipw2200.c
@@
-1953,7
+1953,14
@@
static int ipw_send_cmd(struct ipw_priv *priv, struct host_cmd *cmd)
IPW_DEBUG_HC("%s command (#%d) %d bytes: 0x%08X\n",
get_cmd_string(cmd->cmd), cmd->cmd, cmd->len,
priv->status);
- printk_buf(IPW_DL_HOST_COMMAND, (u8 *) cmd->param, cmd->len);
+
+#ifndef DEBUG_CMD_WEP_KEY
+ if (cmd->cmd == IPW_CMD_WEP_KEY)
+ IPW_DEBUG_HC("WEP_KEY command masked out for secure.\n");
+ else
+#endif
+ printk_buf(IPW_DL_HOST_COMMAND, (u8 *) cmd->param, cmd->len);
+
rc = ipw_queue_tx_hcmd(priv, cmd->cmd, &cmd->param, cmd->len, 0);
if (rc) {
This page took
0.03068 seconds
and
5
git commands to generate.