Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a033f37ee4381a3d9fa0cf4ec28a23357080ed50
Commit:     a033f37ee4381a3d9fa0cf4ec28a23357080ed50
Parent:     c6f3f656e12870b2d3a62bb813515c0966f7f448
Author:     mabbas <[EMAIL PROTECTED]>
AuthorDate: Thu Oct 25 17:15:34 2007 +0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 15:03:15 2008 -0800

    iwlwifi: accept up to 4K frame size on Rx side to fit A-MSDU frame
    
    The driver drops any Rx frame larger than 2332 bytes, but with A-MSDU
    frame, it could be up to 4K. This patch makes sure we can process larger
    A-MSDU frame.
    
    Signed-off-by: Mohamed Abbas <[EMAIL PROTECTED]>
    Signed-off-by: Zhu Yi <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 drivers/net/wireless/iwlwifi/iwl-4965.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c 
b/drivers/net/wireless/iwlwifi/iwl-4965.c
index baf6e60..a728c45 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;
        }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to