diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-led.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-led.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-led.c b/drivers/net/wireless/iwlwifi/iwl-led.c index 439187f903c9..7c23beb49d7c 100644 --- a/drivers/net/wireless/iwlwifi/iwl-led.c +++ b/drivers/net/wireless/iwlwifi/iwl-led.c | |||
@@ -107,8 +107,8 @@ static int iwl_send_led_cmd(struct iwl_priv *priv, struct iwl_led_cmd *led_cmd) | |||
107 | { | 107 | { |
108 | struct iwl_host_cmd cmd = { | 108 | struct iwl_host_cmd cmd = { |
109 | .id = REPLY_LEDS_CMD, | 109 | .id = REPLY_LEDS_CMD, |
110 | .len = sizeof(struct iwl_led_cmd), | 110 | .len = { sizeof(struct iwl_led_cmd), }, |
111 | .data = led_cmd, | 111 | .data = { led_cmd, }, |
112 | .flags = CMD_ASYNC, | 112 | .flags = CMD_ASYNC, |
113 | .callback = NULL, | 113 | .callback = NULL, |
114 | }; | 114 | }; |