From owner-p4-projects@FreeBSD.ORG Fri Apr 6 16:20:27 2007 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 D71EB16A529; Fri, 6 Apr 2007 16:20:26 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9A10116A523 for ; Fri, 6 Apr 2007 16:20:26 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 72CF513C4C6 for ; Fri, 6 Apr 2007 16:20:26 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l36GKQpc060698 for ; Fri, 6 Apr 2007 16:20:26 GMT (envelope-from sam@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l36GKQQW060693 for perforce@freebsd.org; Fri, 6 Apr 2007 16:20:26 GMT (envelope-from sam@freebsd.org) Date: Fri, 6 Apr 2007 16:20:26 GMT Message-Id: <200704061620.l36GKQQW060693@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 117513 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: Fri, 06 Apr 2007 16:20:27 -0000 http://perforce.freebsd.org/chv.cgi?CH=117513 Change 117513 by sam@sam_ebb on 2007/04/06 16:20:04 s/0/NULL/ for type compatibility Affected files ... .. //depot/projects/wifi/sys/net80211/ieee80211_crypto.c#21 edit Differences ... ==== //depot/projects/wifi/sys/net80211/ieee80211_crypto.c#21 (text+ko) ==== @@ -592,7 +592,7 @@ "[%s] unable to pullup %s header\n", ether_sprintf(wh->i_addr2), cip->ic_name); ic->ic_stats.is_rx_wepfail++; /* XXX */ - return 0; + return NULL; } return (cip->ic_decap(k, m, hdrlen) ? k : NULL);