diff --git a/drivers/net/wireless/ath/ath9k/htc_hst.c b/drivers/net/wireless/ath/ath9k/htc_hst.c index d2e062eaf561..9bad346b68ef 100644 --- a/drivers/net/wireless/ath/ath9k/htc_hst.c +++ b/drivers/net/wireless/ath/ath9k/htc_hst.c @@ -160,6 +160,8 @@ static int htc_config_pipe_credits(struct htc_target *target) cp_msg = skb_put(skb, sizeof(struct htc_config_pipe_msg)); + memset(cp_msg, 0, sizeof(struct htc_config_pipe_msg)); + cp_msg->message_id = cpu_to_be16(HTC_MSG_CONFIG_PIPE_ID); cp_msg->pipe_id = USB_WLAN_TX_PIPE; cp_msg->credits = target->credits;