]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: rt2800lib: use rt2x00_has_cap_* helpers
authorGabor Juhos <juhosg@openwrt.org>
Fri, 11 Oct 2013 11:18:42 +0000 (13:18 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Oct 2013 17:39:57 +0000 (13:39 -0400)
commite5ae1ae71132b21082b33de4941d7dbc22d1b5b4
tree70b69467276587b99522614f7a7282f45445a3f1
parenteffa0abd6fa875eca713f8aa5146676c2335b6a3
rt2x00: rt2800lib: use rt2x00_has_cap_* helpers

Use the appropriate helper functions instead of
directly accessing the rt2x00dev->cap_flags field
to check device capability flags.

This improves readability of the code a bit.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c