]> git.karo-electronics.de Git - karo-tx-linux.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)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Oct 2010 17:35:23 +0000 (13:35 -0400)
commitf209f5298217cf54cd5a9163e18b08d093faf8d9
tree28de73a4cedbcbcafcb2151c471b745feccc3f22
parent2234362c427e2ef667595b9b81c0125003ac5607
ath9k: fix channel flag / regd issues with multiple cards

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>
Cc: stable@kernel.org [all]
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/init.c