|
@@ -978,7 +978,7 @@ static bool ath9k_rx_prepare(struct ath9k_htc_priv *priv,
|
|
struct ath_hw *ah = common->ah;
|
|
struct ath_hw *ah = common->ah;
|
|
struct ath_htc_rx_status *rxstatus;
|
|
struct ath_htc_rx_status *rxstatus;
|
|
struct ath_rx_status rx_stats;
|
|
struct ath_rx_status rx_stats;
|
|
- bool decrypt_error;
|
|
|
|
|
|
+ bool decrypt_error = false;
|
|
|
|
|
|
if (skb->len < HTC_RX_FRAME_HEADER_SIZE) {
|
|
if (skb->len < HTC_RX_FRAME_HEADER_SIZE) {
|
|
ath_err(common, "Corrupted RX frame, dropping (len: %d)\n",
|
|
ath_err(common, "Corrupted RX frame, dropping (len: %d)\n",
|