]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: Let RF chipset decide the RF channel switch method to use in rt2800.
authorGertjan van Wingerde <gwingerde@gmail.com>
Sun, 11 Apr 2010 12:31:07 +0000 (14:31 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Apr 2010 19:22:10 +0000 (15:22 -0400)
commit6fe2699f1e4d388b32494bb07f53ac01b3283ab3
tree733fc6aa74aa148711747125e0ab1a41ab9b9bb5
parent57b250c866928064fc29e279dcd3c77c74c87e90
rt2x00: Let RF chipset decide the RF channel switch method to use in rt2800.

It seems that the distinction between RF channel switch method is solely based
on the RF chipset that is used.
Refactor the channel switch decision to just take the RF chipset into account,
thereby greatly simplifying the check.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c