diff options
author | James Ketrenos <jketreno@linux.intel.com> | 2005-09-07 19:19:08 -0400 |
---|---|---|
committer | James Ketrenos <jketreno@linux.intel.com> | 2005-11-07 18:51:36 -0500 |
commit | fb7ccc9e6d1a2872ea8a07154f1689d19a7576c5 (patch) | |
tree | 9639c1c101af0d99f3f87f5a49d9ad9add887b7d /drivers | |
parent | cdd1fa1e10a2231b5e24bde82550ac499aa5dcc4 (diff) |
Fixed problem with get_cmd_string not existing if CONFIG_IPW_DEBUG disabled.
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ipw2200.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index e36a1fd9eefd..43dab7a5cc91 100644 --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c | |||
@@ -1809,7 +1809,6 @@ static void ipw_irq_tasklet(struct ipw_priv *priv) | |||
1809 | spin_unlock_irqrestore(&priv->lock, flags); | 1809 | spin_unlock_irqrestore(&priv->lock, flags); |
1810 | } | 1810 | } |
1811 | 1811 | ||
1812 | #ifdef CONFIG_IPW_DEBUG | ||
1813 | #define IPW_CMD(x) case IPW_CMD_ ## x : return #x | 1812 | #define IPW_CMD(x) case IPW_CMD_ ## x : return #x |
1814 | static char *get_cmd_string(u8 cmd) | 1813 | static char *get_cmd_string(u8 cmd) |
1815 | { | 1814 | { |
@@ -1868,7 +1867,6 @@ static char *get_cmd_string(u8 cmd) | |||
1868 | return "UNKNOWN"; | 1867 | return "UNKNOWN"; |
1869 | } | 1868 | } |
1870 | } | 1869 | } |
1871 | #endif | ||
1872 | 1870 | ||
1873 | #define HOST_COMPLETE_TIMEOUT HZ | 1871 | #define HOST_COMPLETE_TIMEOUT HZ |
1874 | static int ipw_send_cmd(struct ipw_priv *priv, struct host_cmd *cmd) | 1872 | static int ipw_send_cmd(struct ipw_priv *priv, struct host_cmd *cmd) |