aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-06-20 17:30:36 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-06-27 23:28:35 -0400
commit011fe95a3b25ff124486fc27dc0395904ecf5852 (patch)
tree57adf80a6e63d189da1edb32be3fff186f76bc7f /drivers/net
parent8724a118031a4eb62174b3e12745e4d35d4b03fe (diff)
[PATCH] ipw2100 old gcc fix
drivers/net/wireless/ipw2100.c: In function `ipw2100_set_key_index': drivers/net/wireless/ipw2100.c:5326: array index in non-array initializer drivers/net/wireless/ipw2100.c:5326: (near initialization for `cmd') drivers/net/wireless/ipw2100.c:5326: warning: missing braces around initializer drivers/net/wireless/ipw2100.c:5326: warning: (near initialization for `cmd.host_command_parameters') Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Andrew Morton <akpm@osdl.org>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ipw2100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ipw2100.c b/drivers/net/wireless/ipw2100.c
index 62f2935246bb..09cc5fdd290a 100644
--- a/drivers/net/wireless/ipw2100.c
+++ b/drivers/net/wireless/ipw2100.c
@@ -5305,7 +5305,7 @@ static int ipw2100_set_key_index(struct ipw2100_priv *priv,
5305 .host_command = WEP_KEY_INDEX, 5305 .host_command = WEP_KEY_INDEX,
5306 .host_command_sequence = 0, 5306 .host_command_sequence = 0,
5307 .host_command_length = 4, 5307 .host_command_length = 4,
5308 .host_command_parameters[0] = idx, 5308 .host_command_parameters = { idx },
5309 }; 5309 };
5310 int err; 5310 int err;
5311 5311