rt2x00: use helper to check capability/requirement
authorFred Chou <fred.chou.nd@gmail.com>
Fri, 26 Dec 2014 08:19:18 +0000 (16:19 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 7 Jan 2015 08:41:42 +0000 (10:41 +0200)
commitb9d305cc47407f6a615145ff69e89060e7def6c7
tree13bc5a4f09cdfc27f5376f42c3dd1a7ec73af891
parentc20e7789be9f64ed6000e3d985bc7203781a671c
rt2x00: use helper to check capability/requirement

Use rt2x00_has_cap_flag macro to check rt2x00dev->cap_flags.

Signed-off-by: Fred Chou <fred.chou.nd@gmail.com>
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rt2x00/rt2x00config.c
drivers/net/wireless/rt2x00/rt2x00dev.c
drivers/net/wireless/rt2x00/rt2x00firmware.c
drivers/net/wireless/rt2x00/rt2x00mac.c
drivers/net/wireless/rt2x00/rt2x00queue.c
drivers/net/wireless/rt2x00/rt2x00usb.c