]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit06855ef4c8cf3d86d831c6317ca6a3563d271350
tree733fc6aa74aa148711747125e0ab1a41ab9b9bb5
parent5988f385b4cffa9ca72c5be0188e5f4c9ef46d82
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