]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
ath9k: fix channel flag / regd issues with multiple cards
authorFelix Fietkau <nbd@openwrt.org>
Thu, 30 Sep 2010 23:06:53 +0000 (01:06 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:31:57 +0000 (13:31 -0800)
commitf5986e84c5a3202489e0dcaada6421b12217c400
tree02f7d25a6eead25324131e921b530dcf443f2307
parent4311bba0072a3eec01b0b8927310af1ebf6f91dc
ath9k: fix channel flag / regd issues with multiple cards

commit f209f5298217cf54cd5a9163e18b08d093faf8d9 upstream.

Since the regulatory code touches the channel array, it needs to be
copied for each device instance. That way the original channel array
can also be made const.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath9k/init.c