diff options
author | Stanislaw Gruszka <stf_xl@wp.pl> | 2013-05-18 08:03:28 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-05-24 13:18:11 -0400 |
commit | c3223573520e73c4aee303a122a9ea6a9342a010 (patch) | |
tree | e0583ac5912bbe9aeced33c512b133eae0353778 /drivers/net/wireless/rt2x00/rt2800lib.c | |
parent | 29f3a58b9025683e088205f3db9e51d5294957b7 (diff) |
rt2800: move rt2800_bbp4_mac_if_ctrl to proper subroutines
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl>
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800lib.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800lib.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c index 11030ff57bab..687abd539dff 100644 --- a/drivers/net/wireless/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/rt2x00/rt2800lib.c | |||
@@ -3967,6 +3967,7 @@ static void rt2800_init_bbp_30xx(struct rt2x00_dev *rt2x00dev) | |||
3967 | 3967 | ||
3968 | static void rt2800_init_bbp_3290(struct rt2x00_dev *rt2x00dev) | 3968 | static void rt2800_init_bbp_3290(struct rt2x00_dev *rt2x00dev) |
3969 | { | 3969 | { |
3970 | rt2800_bbp4_mac_if_ctrl(rt2x00dev); | ||
3970 | } | 3971 | } |
3971 | 3972 | ||
3972 | static void rt2800_init_bbp_3352(struct rt2x00_dev *rt2x00dev) | 3973 | static void rt2800_init_bbp_3352(struct rt2x00_dev *rt2x00dev) |
@@ -3985,6 +3986,7 @@ static void rt2800_init_bbp_3572(struct rt2x00_dev *rt2x00dev) | |||
3985 | 3986 | ||
3986 | static void rt2800_init_bbp_53xx(struct rt2x00_dev *rt2x00dev) | 3987 | static void rt2800_init_bbp_53xx(struct rt2x00_dev *rt2x00dev) |
3987 | { | 3988 | { |
3989 | rt2800_bbp4_mac_if_ctrl(rt2x00dev); | ||
3988 | } | 3990 | } |
3989 | 3991 | ||
3990 | static void rt2800_init_bbp_5592(struct rt2x00_dev *rt2x00dev) | 3992 | static void rt2800_init_bbp_5592(struct rt2x00_dev *rt2x00dev) |
@@ -4103,11 +4105,6 @@ static void rt2800_init_bbp(struct rt2x00_dev *rt2x00dev) | |||
4103 | return; | 4105 | return; |
4104 | } | 4106 | } |
4105 | 4107 | ||
4106 | if (rt2x00_rt(rt2x00dev, RT3290) || | ||
4107 | rt2x00_rt(rt2x00dev, RT5390) || | ||
4108 | rt2x00_rt(rt2x00dev, RT5392)) | ||
4109 | rt2800_bbp4_mac_if_ctrl(rt2x00dev); | ||
4110 | |||
4111 | if (rt2800_is_305x_soc(rt2x00dev) || | 4108 | if (rt2800_is_305x_soc(rt2x00dev) || |
4112 | rt2x00_rt(rt2x00dev, RT3290) || | 4109 | rt2x00_rt(rt2x00dev, RT3290) || |
4113 | rt2x00_rt(rt2x00dev, RT3352) || | 4110 | rt2x00_rt(rt2x00dev, RT3352) || |