From owner-p4-projects@FreeBSD.ORG Thu Jul 21 19:51:31 2005 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 684AD16A421; Thu, 21 Jul 2005 19:51:30 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41F6016A41F for ; Thu, 21 Jul 2005 19:51:30 +0000 (GMT) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D25B43D46 for ; Thu, 21 Jul 2005 19:51:25 +0000 (GMT) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j6LJpPkN012753 for ; Thu, 21 Jul 2005 19:51:25 GMT (envelope-from sam@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j6LJpPSt012750 for perforce@freebsd.org; Thu, 21 Jul 2005 19:51:25 GMT (envelope-from sam@freebsd.org) Date: Thu, 21 Jul 2005 19:51:25 GMT Message-Id: <200507211951.j6LJpPSt012750@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to sam@freebsd.org using -f From: Sam Leffler To: Perforce Change Reviews Cc: Subject: PERFORCE change 80695 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 19:51:31 -0000 http://perforce.freebsd.org/chv.cgi?CH=80695 Change 80695 by sam@sam_ebb on 2005/07/21 19:51:10 correct min data frame size check; fragmented frames may not include an 802.3 header so the previous size caused some frames to be discarded Affected files ... .. //depot/projects/wifi/sys/net80211/ieee80211_crypto.c#13 edit Differences ... ==== //depot/projects/wifi/sys/net80211/ieee80211_crypto.c#13 (text+ko) ==== @@ -543,7 +543,7 @@ { #define IEEE80211_WEP_HDRLEN (IEEE80211_WEP_IVLEN + IEEE80211_WEP_KIDLEN) #define IEEE80211_WEP_MINLEN \ - (sizeof(struct ieee80211_frame) + ETHER_HDR_LEN + \ + (sizeof(struct ieee80211_frame) + \ IEEE80211_WEP_HDRLEN + IEEE80211_WEP_CRCLEN) struct ieee80211_key *k; struct ieee80211_frame *wh;