NetBSD Problem Report #29786

From hramrach@centrum.cz  Thu Mar 24 16:48:50 2005
Return-Path: <hramrach@centrum.cz>
Received: from dec59.ruk.cuni.cz (dec59.ruk.cuni.cz [195.113.2.17])
	by narn.netbsd.org (Postfix) with SMTP id 1CCB463B116
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 24 Mar 2005 16:48:47 +0000 (UTC)
Message-Id: <20050324163850.4F28C33C24@uvt316-2.ruk.cuni.cz>
Date: Thu, 24 Mar 2005 17:38:50 +0100 (CET)
From: hramrach@centrum.cz
Reply-To: hramrach@centrum.cz
To: gnats-bugs@netbsd.org
Subject: ieee80211 headers contain two definitions of IEEE80211_AUTH_*
X-Send-Pr-Version: 3.95

>Number:         29786
>Category:       kern
>Synopsis:       ieee80211 headers contain two definitions of IEEE80211_AUTH_*
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 24 16:49:00 +0000 2005
>Closed-Date:    Fri May 04 11:33:06 +0000 2018
>Last-Modified:  Fri May 04 11:33:06 +0000 2018
>Originator:     hramrach@centrum.cz
>Release:        NetBSD 3.99.1 23-03-2005
>Organization:
>Environment:
System: NetBSD Dell 3.99.1 NetBSD 3.99.1 (Dell) #2: Wed Mar 23 15:46:42 CET 2005 hramrach@Dell:/scratch/obj/usr/src/sys/arch/i386/compile/Dell i386
Architecture: i386
Machine: i386
>Description:
/usr/include/net80211/ieee80211.h contains an enum of authentication types (IEEE80211_AUTH_*).
/usr/include/net80211/ieee80211_ioctl.h contains #defines of the first three only.
I beleive this is a bug since the values are duplicated in different headers and the definitions
in ieee80211_ioctl.h are incomplete.
>How-To-Repeat:
>Fix:
Removeing the defines from ieee80211_ioctl.h should be OK imho since they are incomplete anyway.
Some sources may need including ieee80211.h then.

Thanks
Michal Suchanek

>Release-Note:

>Audit-Trail:
From: "Maxime Villard" <maxv@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/29786 CVS commit: src/sys/net80211
Date: Fri, 4 May 2018 11:25:24 +0000

 Module Name:	src
 Committed By:	maxv
 Date:		Fri May  4 11:25:24 UTC 2018

 Modified Files:
 	src/sys/net80211: ieee80211_ioctl.h

 Log Message:
 Remove duplicate macros. Reported in PR/29786.


 To generate a diff of this commit:
 cvs rdiff -u -r1.23 -r1.24 src/sys/net80211/ieee80211_ioctl.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: maxv@NetBSD.org
State-Changed-When: Fri, 04 May 2018 11:33:06 +0000
State-Changed-Why:
Fixed, thanks.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.