aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHelmut Schaa <helmut.schaa@googlemail.com>2010-07-11 06:29:26 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-07-12 16:05:35 -0400
commitab0ed4aba80f430fafd842cee8d74f6b40493483 (patch)
treef73282dad04699935fa1fdfa8d240380549bc927 /drivers
parente783619ea8f1fb9fccec4931b0cf956de0ed1019 (diff)
rt2x00: Remove set_tim callback from PCI drivers
Using the set_tim callback without managing the DTIM count and the broad- and multicast buffering in hw, fw or the driver results in wrong DTIM count values being sent out in beacons. Since all PCI drivers fetch new beacons periodically and hence get an updated TIM we can just remove the set_tim callback from these. The rt2x00 USB drivers don't update the beacon periodically and thus rely on the set_tim callback to get a correct TIM for beacon transmission. USB devices still suffer from the DTIM count being wrong under some circumstances but removing the set_tim callback from these would cause more harm then good. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/rt2x00/rt2400pci.c1
-rw-r--r--drivers/net/wireless/rt2x00/rt2500pci.c1
-rw-r--r--drivers/net/wireless/rt2x00/rt2800pci.c1
-rw-r--r--drivers/net/wireless/rt2x00/rt61pci.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c
index 116244b72371..5063e01410e5 100644
--- a/drivers/net/wireless/rt2x00/rt2400pci.c
+++ b/drivers/net/wireless/rt2x00/rt2400pci.c
@@ -1589,7 +1589,6 @@ static const struct ieee80211_ops rt2400pci_mac80211_ops = {
1589 .remove_interface = rt2x00mac_remove_interface, 1589 .remove_interface = rt2x00mac_remove_interface,
1590 .config = rt2x00mac_config, 1590 .config = rt2x00mac_config,
1591 .configure_filter = rt2x00mac_configure_filter, 1591 .configure_filter = rt2x00mac_configure_filter,
1592 .set_tim = rt2x00mac_set_tim,
1593 .sw_scan_start = rt2x00mac_sw_scan_start, 1592 .sw_scan_start = rt2x00mac_sw_scan_start,
1594 .sw_scan_complete = rt2x00mac_sw_scan_complete, 1593 .sw_scan_complete = rt2x00mac_sw_scan_complete,
1595 .get_stats = rt2x00mac_get_stats, 1594 .get_stats = rt2x00mac_get_stats,
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.c b/drivers/net/wireless/rt2x00/rt2500pci.c
index 5e80948d1a3e..c2a555d5376b 100644
--- a/drivers/net/wireless/rt2x00/rt2500pci.c
+++ b/drivers/net/wireless/rt2x00/rt2500pci.c
@@ -1883,7 +1883,6 @@ static const struct ieee80211_ops rt2500pci_mac80211_ops = {
1883 .remove_interface = rt2x00mac_remove_interface, 1883 .remove_interface = rt2x00mac_remove_interface,
1884 .config = rt2x00mac_config, 1884 .config = rt2x00mac_config,
1885 .configure_filter = rt2x00mac_configure_filter, 1885 .configure_filter = rt2x00mac_configure_filter,
1886 .set_tim = rt2x00mac_set_tim,
1887 .sw_scan_start = rt2x00mac_sw_scan_start, 1886 .sw_scan_start = rt2x00mac_sw_scan_start,
1888 .sw_scan_complete = rt2x00mac_sw_scan_complete, 1887 .sw_scan_complete = rt2x00mac_sw_scan_complete,
1889 .get_stats = rt2x00mac_get_stats, 1888 .get_stats = rt2x00mac_get_stats,
diff --git a/drivers/net/wireless/rt2x00/rt2800pci.c b/drivers/net/wireless/rt2x00/rt2800pci.c
index 4c138eb5369c..520236d0dc78 100644
--- a/drivers/net/wireless/rt2x00/rt2800pci.c
+++ b/drivers/net/wireless/rt2x00/rt2800pci.c
@@ -1096,7 +1096,6 @@ static const struct ieee80211_ops rt2800pci_mac80211_ops = {
1096 .remove_interface = rt2x00mac_remove_interface, 1096 .remove_interface = rt2x00mac_remove_interface,
1097 .config = rt2x00mac_config, 1097 .config = rt2x00mac_config,
1098 .configure_filter = rt2x00mac_configure_filter, 1098 .configure_filter = rt2x00mac_configure_filter,
1099 .set_tim = rt2x00mac_set_tim,
1100 .set_key = rt2x00mac_set_key, 1099 .set_key = rt2x00mac_set_key,
1101 .sw_scan_start = rt2x00mac_sw_scan_start, 1100 .sw_scan_start = rt2x00mac_sw_scan_start,
1102 .sw_scan_complete = rt2x00mac_sw_scan_complete, 1101 .sw_scan_complete = rt2x00mac_sw_scan_complete,
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c
index 049433fa760d..e539c6cb636f 100644
--- a/drivers/net/wireless/rt2x00/rt61pci.c
+++ b/drivers/net/wireless/rt2x00/rt61pci.c
@@ -2805,7 +2805,6 @@ static const struct ieee80211_ops rt61pci_mac80211_ops = {
2805 .remove_interface = rt2x00mac_remove_interface, 2805 .remove_interface = rt2x00mac_remove_interface,
2806 .config = rt2x00mac_config, 2806 .config = rt2x00mac_config,
2807 .configure_filter = rt2x00mac_configure_filter, 2807 .configure_filter = rt2x00mac_configure_filter,
2808 .set_tim = rt2x00mac_set_tim,
2809 .set_key = rt2x00mac_set_key, 2808 .set_key = rt2x00mac_set_key,
2810 .sw_scan_start = rt2x00mac_sw_scan_start, 2809 .sw_scan_start = rt2x00mac_sw_scan_start,
2811 .sw_scan_complete = rt2x00mac_sw_scan_complete, 2810 .sw_scan_complete = rt2x00mac_sw_scan_complete,