diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-07-09 08:40:37 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-07-14 14:30:07 -0400 |
commit | 9d139c810a2aa17365cc548d0cd2a189d8433c65 (patch) | |
tree | ef10ca55f93689ab97368376d277102d2527c961 /drivers/net/wireless/rt2x00/rt61pci.c | |
parent | f3947e2dfa3b18f375b7acd03b7ee2877d0751fc (diff) |
mac80211: revamp beacon configuration
This patch changes mac80211's beacon configuration handling
to never pass skbs to the driver directly but rather always
require the driver to use ieee80211_beacon_get(). Additionally,
it introduces "change flags" on the config_interface() call
to enable drivers to figure out what is changing. Finally, it
removes the beacon_update() driver callback in favour of
having IBSS beacon delivered by ieee80211_beacon_get() as well.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt61pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index bbf1048f640..852d193a11a 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c | |||
@@ -2427,7 +2427,6 @@ static const struct ieee80211_ops rt61pci_mac80211_ops = { | |||
2427 | .conf_tx = rt2x00mac_conf_tx, | 2427 | .conf_tx = rt2x00mac_conf_tx, |
2428 | .get_tx_stats = rt2x00mac_get_tx_stats, | 2428 | .get_tx_stats = rt2x00mac_get_tx_stats, |
2429 | .get_tsf = rt61pci_get_tsf, | 2429 | .get_tsf = rt61pci_get_tsf, |
2430 | .beacon_update = rt61pci_beacon_update, | ||
2431 | }; | 2430 | }; |
2432 | 2431 | ||
2433 | static const struct rt2x00lib_ops rt61pci_rt2x00_ops = { | 2432 | static const struct rt2x00lib_ops rt61pci_rt2x00_ops = { |
@@ -2449,6 +2448,7 @@ static const struct rt2x00lib_ops rt61pci_rt2x00_ops = { | |||
2449 | .write_tx_data = rt2x00pci_write_tx_data, | 2448 | .write_tx_data = rt2x00pci_write_tx_data, |
2450 | .kick_tx_queue = rt61pci_kick_tx_queue, | 2449 | .kick_tx_queue = rt61pci_kick_tx_queue, |
2451 | .fill_rxdone = rt61pci_fill_rxdone, | 2450 | .fill_rxdone = rt61pci_fill_rxdone, |
2451 | .beacon_update = rt61pci_beacon_update, | ||
2452 | .config_filter = rt61pci_config_filter, | 2452 | .config_filter = rt61pci_config_filter, |
2453 | .config_intf = rt61pci_config_intf, | 2453 | .config_intf = rt61pci_config_intf, |
2454 | .config_erp = rt61pci_config_erp, | 2454 | .config_erp = rt61pci_config_erp, |