So, I'm trying to get my Broadcom 4322 802.11 adapter working with ndisgen on 8.0-RC1. It seems to be working up to the point where I can set the SSID and encryption key. I can even scan for access points (at least temporarily). The problem is that the ndis0 device is associated, but the wlan0 one reports no carrier, so dhclient reports the link is down. I've seen reference to pretty much these symptoms, but I haven't found a resolution. Is this a real bug or is there something I'm doing wrong? For reference the commands I'm using look like this. And if I don't include the chanlist command, it stays stuck on channel 1 and fails to scan.
Code:
sudo kldload bcmwl5_sys
sudo ifconfig wlan0 create wlandev ndis0
sudo ifconfig wlan0 ssid fubar up
sudo ifconfig wlan0 chanlist 11
sudo ifconfig wlan0 scan
sudo ifconfig wlan0 deftxkey 0x0102030405060708090a0b0c0d
sudo dhclient wlan0