diff options
author | adrian <adrian@FreeBSD.org> | 2013-01-31 00:14:25 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-01-31 00:14:25 +0000 |
commit | e33dc79d8ee6e651f229bdeddaa7109185cb20db (patch) | |
tree | 7979c3cda6f59cad88ebdab892dec7d5f35d253c /libexec/rbootd | |
parent | a236fc7fcc3822483877a07e7a3e395013f66e2c (diff) | |
download | FreeBSD-src-e33dc79d8ee6e651f229bdeddaa7109185cb20db.zip FreeBSD-src-e33dc79d8ee6e651f229bdeddaa7109185cb20db.tar.gz |
Work around some rather unfortunate race conditions inside net80211.
Right now, ic_curchan seems to be updated rather quickly (ie, during
the ioctl) and before the driver gets notified of what's going on.
So what I was seeing was:
* NIC was in channel X;
* It generates PHY errors for channel X;
* an ioctl comes along from userland and changes things to channel Y;
* .. this updates ic_curchan, but hasn't yet reset the hardware;
* in parallel, RX is occuring and it looks at ic_curchan;
* .. which is channel Y, so events get stamped with that now.
Sigh.
Diffstat (limited to 'libexec/rbootd')
0 files changed, 0 insertions, 0 deletions