Some cards (such as ath5k) always need to tune to a particular channel when they are reset; the reset may happen upon open(), which is before the channels array would be set up (in prepare_probe()). Avoid tuning the card to an inconsistent state by copying the hardware supported-channels array to the 802.11 device's allowable-channels array even before channels are "properly" set up. Signed-off-by: Michael Brown <mcb30@etherboot.org>tags/v0.9.8
|
||
794 | 794 |
|
795 | 795 |
|
796 | 796 |
|
797 |
|
|
798 |
|
|
799 |
|
|
800 |
|
|
801 |
|
|
797 | 802 |
|
798 | 803 |
|
799 | 804 |
|