First I downloaded, compiled and installed all wireless drivers at
$ wget http://www.orbit-lab.org/kernel/compat-wireless-3-stable/v3.5/compat-wireless-3.5-rc2-1.tar.bz2 $ tar jxvf compat-wireless-3.5-rc2-1.tar.bz2; cd compat-wireless-3.5-rc2-1 $ make $ sudo make install
I have two wireless devices chipsets: Broadcom and Atheros. The Broadcom stopped work so I tested Atheros:
$ sudo airmon-ng stop wlan1;sudo ifconfig wlan1 down;sudo macchanger --mac 00:11:22:33:44:55 wlan1;sudo airmon-ng start wlan1
... Interface Chipset Driver wlan1 Unknown carl9170 - [phy0] (monitor mode enabled on mon0)
The monitor mode was working and I found out the driver installed was carl9170.
Second I uninstall all wireless drivers at compat-wireless-3.5-rc2-1:
... $ cd compat-wireless-3.5-rc2-1 $ sudo make uninstall
After restart all wireless drivers at compat-wireless-3.5-rc2-1 were removed and Broadcom and Atheros started to work again.
Third (re)compiling only the right driver:
... $ cd compat-wireless-3.5-rc2-1 $ ./scripts/driver-select carl9170 $ make $ sudo make install
Now Broadcom is woking with ubuntu original driver and Atheros with compat wireless driver carl9170.