Working with the April tarballs of compat-wireless, my system freezes upon unloading of mac80211.
System:
* Linux 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:45:36 UTC 2010 x86_64 GNU/Linux
* gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
To reproduce in a freshly unpacked source tree:
./scripts/driver-select ath9k && make
sudo modprobe led-class
sudo insmod compat/compat.ko
sudo insmod net/wireless/cfg80211.ko
sudo insmod net/mac80211/mac80211.ko
sudo sync
sudo rmmod mac80211.ko
My system immediately crashes, i.e. reboots or freezes. No crash dump or any other info to narrow down the issue.
The last working release for me was 2012-03-18, while I tested the 04-03, 04-09, and 04-15 to crash.
Any ideas?