Subject: bin/33794: Wiconfig is broken in current
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <degroote@enseirb.fr>
List: netbsd-bugs
Date: 06/22/2006 19:50:00
>Number:         33794
>Category:       bin
>Synopsis:       Wiconfig is broken in current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 22 19:50:00 +0000 2006
>Originator:     Arnaud Degroote
>Release:        current
>Organization:
>Environment:
NetBSD Hermes.at.home 3.99.21 NetBSD 3.99.21 (HERMES) #0: Tue Jun 20 22:30:48 CEST 2006  zul@Ordinateur-de-zul.local:/Users/zul/src/sys/arch/i386/compile/obj/HERMES i386
>Description:
Basicly if we try to use wiconfig in current, the command fails and crashes. The output looks like this :

NIC serial number:                      [  ]
Station name:                           [  ]
SSID for IBSS creation:                 [  ]
Current netname (SSID):                 [  ]
Desired netname (SSID):                 [  ]
Current BSSID:                          [  ]
Channel list:                           [ ]

some random figures and it finish with Memory fault (core dumped) 

The problem are clearly related to the change of sys/net80211/ieee80211_ioctl.c ( revision 1.34 and 1.35 ).
>How-To-Repeat:
wiconfig ath0 ( or your wireless card )
>Fix:
Sorry I don't have studied the problem more.