rt2x00: Fix compilation without CONFIG_RT2X00_LIB_CRYPTO
authorHelmut Schaa <helmut.schaa@googlemail.com>
Tue, 2 Aug 2011 09:43:14 +0000 (11:43 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 2 Aug 2011 17:48:14 +0000 (13:48 -0400)
This was introduced by commit
77b5621bac4a56b83b9081f48d4e7d1accdde400 (rt2x00: Don't use queue entry
as parameter when creating TX descriptor.)

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00lib.h

index 15cdc7e57fc4711cbdc7bca15ae24820afff53d8..4cdf247a870d6e21dbc5557e1e1aad18fa4253c7 100644 (file)
@@ -355,7 +355,8 @@ static inline enum cipher rt2x00crypto_key_to_cipher(struct ieee80211_key_conf *
        return CIPHER_NONE;
 }
 
-static inline void rt2x00crypto_create_tx_descriptor(struct queue_entry *entry,
+static inline void rt2x00crypto_create_tx_descriptor(struct rt2x00_dev *rt2x00dev,
+                                                    struct sk_buff *skb,
                                                     struct txentry_desc *txdesc)
 {
 }