summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>2010-11-23 15:52:18 -0800
committerInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>2010-11-23 15:52:18 -0800
commitc23d28bd5e8adf7186bc393a50ec784fc3b2528c (patch)
tree881a0fb30e5eccea5947d025bf94f85d267e211a
parentf901c5c17b15ae979cca5a3da7247404ffc8995e (diff)
wimaxcu: fix array size
Array size declaration for 'cmd_args' was of the wrong size, thus throwing a warning. Reported-by: Andrey Kononov <kononov@zarya-k.ru> Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
-rw-r--r--InfraStack/OSDependent/Linux/wimaxcu/wimaxcu_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/InfraStack/OSDependent/Linux/wimaxcu/wimaxcu_defs.h b/InfraStack/OSDependent/Linux/wimaxcu/wimaxcu_defs.h
index aa6df57..534848b 100644
--- a/InfraStack/OSDependent/Linux/wimaxcu/wimaxcu_defs.h
+++ b/InfraStack/OSDependent/Linux/wimaxcu/wimaxcu_defs.h
@@ -210,7 +210,7 @@ struct cu_cmd_specs
char *default_arg; // eg. scan [preferred]
- cmd_arg_map cmd_args[6]; // Maximum number of arguments any of cmds can accept (un-used ones will be either NULL or empty strings)
+ cmd_arg_map cmd_args[7]; // Maximum number of arguments any of cmds can accept (un-used ones will be either NULL or empty strings)
size_3_string_array scan_connect_mode_options[2];
char *cmd_mode_options[2];