summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00.h
diff options
context:
space:
mode:
authorHelmut Schaa <helmut.schaa@googlemail.com>2011-09-08 14:34:22 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-09-14 13:56:53 -0400
commit183255235aadefd5a987021346e7aee2cbe721eb (patch)
tree8511999e114d7e8922b744cff5b990ea125d1578 /drivers/net/wireless/rt2x00/rt2x00.h
parent1ea57b1f12c045db5fca5d1299963ca1c70983ea (diff)
downloadop-kernel-dev-183255235aadefd5a987021346e7aee2cbe721eb.zip
op-kernel-dev-183255235aadefd5a987021346e7aee2cbe721eb.tar.gz
rt2x00: Move bssidx calculation into its own function
This will be used by a later patch. No functional changes. 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/net/wireless/rt2x00/rt2x00.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h
index f82bfeb..d454ec8 100644
--- a/drivers/net/wireless/rt2x00/rt2x00.h
+++ b/drivers/net/wireless/rt2x00/rt2x00.h
@@ -1226,6 +1226,12 @@ static inline void rt2x00debug_dump_frame(struct rt2x00_dev *rt2x00dev,
#endif /* CONFIG_RT2X00_LIB_DEBUGFS */
/*
+ * Utility functions.
+ */
+u32 rt2x00lib_get_bssidx(struct rt2x00_dev *rt2x00dev,
+ struct ieee80211_vif *vif);
+
+/*
* Interrupt context handlers.
*/
void rt2x00lib_beacondone(struct rt2x00_dev *rt2x00dev);
OpenPOWER on IntegriCloud