diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-12-20 04:58:33 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 15:58:39 -0500 |
commit | 7b40982e235d6ff9343d38703eb48a0143afcc26 (patch) | |
tree | 996ffa0777166be363b55b9568fcd38f7a3c1e4e /drivers/net/wireless/rt2x00/rt2x00lib.h | |
parent | 91581b627287d8cc3ee382ee038e04c4beca8176 (diff) |
rt2x00: Move code into seperate functions
Some functions have grown rapidly in size over the last time,
some of those functions (like the rt2x00queue_create_tx_descriptor)
will further increase in size soon, so it is best to start cutting
it into logical pieces.
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/rt2x00lib.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00lib.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00lib.h b/drivers/net/wireless/rt2x00/rt2x00lib.h index fccaffde6f55..5e8df250e50d 100644 --- a/drivers/net/wireless/rt2x00/rt2x00lib.h +++ b/drivers/net/wireless/rt2x00/rt2x00lib.h | |||
@@ -282,7 +282,8 @@ static inline void rt2x00debug_update_crypto(struct rt2x00_dev *rt2x00dev, | |||
282 | enum cipher rt2x00crypto_key_to_cipher(struct ieee80211_key_conf *key); | 282 | enum cipher rt2x00crypto_key_to_cipher(struct ieee80211_key_conf *key); |
283 | void rt2x00crypto_create_tx_descriptor(struct queue_entry *entry, | 283 | void rt2x00crypto_create_tx_descriptor(struct queue_entry *entry, |
284 | struct txentry_desc *txdesc); | 284 | struct txentry_desc *txdesc); |
285 | unsigned int rt2x00crypto_tx_overhead(struct ieee80211_tx_info *tx_info); | 285 | unsigned int rt2x00crypto_tx_overhead(struct rt2x00_dev *rt2x00dev, |
286 | struct sk_buff *skb); | ||
286 | void rt2x00crypto_tx_copy_iv(struct sk_buff *skb, unsigned int iv_len); | 287 | void rt2x00crypto_tx_copy_iv(struct sk_buff *skb, unsigned int iv_len); |
287 | void rt2x00crypto_tx_remove_iv(struct sk_buff *skb, unsigned int iv_len); | 288 | void rt2x00crypto_tx_remove_iv(struct sk_buff *skb, unsigned int iv_len); |
288 | void rt2x00crypto_tx_insert_iv(struct sk_buff *skb); | 289 | void rt2x00crypto_tx_insert_iv(struct sk_buff *skb); |
@@ -300,7 +301,8 @@ static inline void rt2x00crypto_create_tx_descriptor(struct queue_entry *entry, | |||
300 | { | 301 | { |
301 | } | 302 | } |
302 | 303 | ||
303 | static inline unsigned int rt2x00crypto_tx_overhead(struct ieee80211_tx_info *tx_info) | 304 | static inline unsigned int rt2x00crypto_tx_overhead(struct rt2x00_dev *rt2x00dev, |
305 | struct sk_buff *skb) | ||
304 | { | 306 | { |
305 | return 0; | 307 | return 0; |
306 | } | 308 | } |