-
Simon Kelley authored
Fixes to avoid problems when the driver shares an interrupt. These were caused because the ISR cannot determine the status of the chip without changing its state and the driver was only disabling the interrupts from the card during some critical regions. An interrupt originating from another device at the wrong moment could run the ISR and corrupt chip state. Fixed by blocking interupts in the processor in critical regions and never checking the chip interrupt status before the driver is fully up. Added the ability to override the Regulatory Domain stored in ROM. The following command achieves this iwpriv <interface> regdomain <domain> vaild domains are USA,Canada,Europe,Spain,France,MKK,MKK1,Israel The current regulatory domain affects which radio channels are available for use. Some minor tidying to calibrate busy-wait loops using udelay and remove inclusion of obsolete include/linux/802_11.h
4f6ed5f8