diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index baf6e60d49ae71f0c4dc11a571f33aa043d59402..a728c45b0d33f49af482217e5d8ac8ac347efc60 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c @@ -3522,8 +3522,8 @@ static void iwl4965_handle_data_packet(struct iwl_priv *priv, int is_data, rx_start->byte_count = amsdu->byte_count; rx_end = (__le32 *) (((u8 *) hdr) + len); } - if (len > 2342 || len < 16) { - IWL_DEBUG_DROP("byte count out of range [16,2342]" + if (len > IWL_RX_BUF_SIZE || len < 16) { + IWL_WARNING("byte count out of range [16,4K]" " : %d\n", len); return; }