OSDN Git Service

rt2x00: reverse external PA capability flag logic
authorDaniel Golle <daniel@makrotopia.org>
Mon, 10 Apr 2017 13:29:45 +0000 (15:29 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 13 Apr 2017 14:12:32 +0000 (17:12 +0300)
commit1f242a3de702d5a19c479685d35b050837122724
tree5fe2935febe9dd718fc12eb8ab5548d38df8adc5
parent4da5e7ea135283ca57be96991d5bca96438c99ad
rt2x00: reverse external PA capability flag logic

Consequently refer to external PA instead of inverting the logic and
use an internal PA capability flag which is a bit confusing.
Currently this is used for Rt3352 only, but MT7620A also allows for an
external PA which will be supported by a follow up patch.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2800lib.c
drivers/net/wireless/ralink/rt2x00/rt2x00.h