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/rt2400pci.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/rt2400pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2400pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c index ee953ca0c6a3..89b874ca6107 100644 --- a/drivers/net/wireless/rt2x00/rt2400pci.c +++ b/drivers/net/wireless/rt2x00/rt2400pci.c | |||
@@ -1581,7 +1581,6 @@ static const struct ieee80211_ops rt2400pci_mac80211_ops = { | |||
1581 | .conf_tx = rt2400pci_conf_tx, | 1581 | .conf_tx = rt2400pci_conf_tx, |
1582 | .get_tx_stats = rt2x00mac_get_tx_stats, | 1582 | .get_tx_stats = rt2x00mac_get_tx_stats, |
1583 | .get_tsf = rt2400pci_get_tsf, | 1583 | .get_tsf = rt2400pci_get_tsf, |
1584 | .beacon_update = rt2400pci_beacon_update, | ||
1585 | .tx_last_beacon = rt2400pci_tx_last_beacon, | 1584 | .tx_last_beacon = rt2400pci_tx_last_beacon, |
1586 | }; | 1585 | }; |
1587 | 1586 | ||
@@ -1601,6 +1600,7 @@ static const struct rt2x00lib_ops rt2400pci_rt2x00_ops = { | |||
1601 | .write_tx_data = rt2x00pci_write_tx_data, | 1600 | .write_tx_data = rt2x00pci_write_tx_data, |
1602 | .kick_tx_queue = rt2400pci_kick_tx_queue, | 1601 | .kick_tx_queue = rt2400pci_kick_tx_queue, |
1603 | .fill_rxdone = rt2400pci_fill_rxdone, | 1602 | .fill_rxdone = rt2400pci_fill_rxdone, |
1603 | .beacon_update = rt2400pci_beacon_update, | ||
1604 | .config_filter = rt2400pci_config_filter, | 1604 | .config_filter = rt2400pci_config_filter, |
1605 | .config_intf = rt2400pci_config_intf, | 1605 | .config_intf = rt2400pci_config_intf, |
1606 | .config_erp = rt2400pci_config_erp, | 1606 | .config_erp = rt2400pci_config_erp, |