Hi Andrew,

On Sunday 01 February 2009, Andrew Thompson wrote:
> On Sun, Feb 01, 2009 at 07:22:15PM +0100, Hans Petter Selasky wrote:

>
> The code should be,
>

That's what I'm doing already ... I pre-copy all channel & bssid stuff into a 
message structure ...

> xxx_set_channel()
> {
>       ieee80211_channel c = wlan->curchan;
>
>       hw_reg = array1[c];
>       write USB register;
>       hw_reg = array2[c];
>       write USB register;
> }

And don't forget "volatile" ...

--HPS
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[email protected]"

Reply via email to