]> git.baikalelectronics.ru Git - kernel.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)
commitfacb007a1dd7f87ca88b24d5ea9c0a79ff55bc91
tree28de73a4cedbcbcafcb2151c471b745feccc3f22
parent32661c5cde2c648d7d2e292fd04b71276956c0c9
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