[rt2x00-users] [PATCH 4/4] rt2x00: rename rt2x00lib_beacondone

Helmut Schaa helmut.schaa at googlemail.com
Thu Jul 1 02:30:02 AEST 2010


rt2x00lib_beacondone is not used anymore as beacondone interrupt handler.
So rename it to rt2x00lib_beaconupdate to better express what it does.

Signed-off-by: Helmut Schaa <helmut.schaa at googlemail.com>
---
 drivers/net/wireless/rt2x00/rt2x00.h    |    2 +-
 drivers/net/wireless/rt2x00/rt2x00dev.c |    8 ++++----
 drivers/net/wireless/rt2x00/rt2x00mac.c |    2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h
index dffe80f..14a72e7 100644
--- a/drivers/net/wireless/rt2x00/rt2x00.h
+++ b/drivers/net/wireless/rt2x00/rt2x00.h
@@ -1057,7 +1057,7 @@ static inline void rt2x00debug_dump_frame(struct rt2x00_dev *rt2x00dev,
 /*
  * Interrupt context handlers.
  */
-void rt2x00lib_beacondone(struct rt2x00_dev *rt2x00dev);
+void rt2x00lib_beaconupdate(struct rt2x00_dev *rt2x00dev);
 void rt2x00lib_txdone(struct queue_entry *entry,
 		      struct txdone_entry_desc *txdesc);
 void rt2x00lib_rxdone(struct rt2x00_dev *rt2x00dev,
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c
index 12ee7bd..569e7dd 100644
--- a/drivers/net/wireless/rt2x00/rt2x00dev.c
+++ b/drivers/net/wireless/rt2x00/rt2x00dev.c
@@ -168,7 +168,7 @@ static void rt2x00lib_intf_scheduled(struct work_struct *work)
 /*
  * Interrupt context handlers.
  */
-static void rt2x00lib_beacondone_iter(void *data, u8 *mac,
+static void rt2x00lib_beaconupdate_iter(void *data, u8 *mac,
 				      struct ieee80211_vif *vif)
 {
 	struct rt2x00_intf *intf = vif_to_intf(vif);
@@ -184,18 +184,18 @@ static void rt2x00lib_beacondone_iter(void *data, u8 *mac,
 	spin_unlock(&intf->lock);
 }
 
-void rt2x00lib_beacondone(struct rt2x00_dev *rt2x00dev)
+void rt2x00lib_beaconupdate(struct rt2x00_dev *rt2x00dev)
 {
 	if (!test_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags))
 		return;
 
 	ieee80211_iterate_active_interfaces_atomic(rt2x00dev->hw,
-						   rt2x00lib_beacondone_iter,
+						   rt2x00lib_beaconupdate_iter,
 						   rt2x00dev);
 
 	ieee80211_queue_work(rt2x00dev->hw, &rt2x00dev->intf_work);
 }
-EXPORT_SYMBOL_GPL(rt2x00lib_beacondone);
+EXPORT_SYMBOL_GPL(rt2x00lib_beaconupdate);
 
 void rt2x00lib_txdone(struct queue_entry *entry,
 		      struct txdone_entry_desc *txdesc)
diff --git a/drivers/net/wireless/rt2x00/rt2x00mac.c b/drivers/net/wireless/rt2x00/rt2x00mac.c
index 9f09818..12b9eee 100644
--- a/drivers/net/wireless/rt2x00/rt2x00mac.c
+++ b/drivers/net/wireless/rt2x00/rt2x00mac.c
@@ -444,7 +444,7 @@ int rt2x00mac_set_tim(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
 	if (test_bit(DRIVER_SUPPORT_PRE_TBTT_INTERRUPT, &rt2x00dev->flags))
 		return 0;
 
-	rt2x00lib_beacondone(rt2x00dev);
+	rt2x00lib_beaconupdate(rt2x00dev);
 	return 0;
 }
 EXPORT_SYMBOL_GPL(rt2x00mac_set_tim);
-- 
1.6.4.2




More information about the users mailing list