Browse Source

rt2x00: fix the definition of rt2x00crypto_rx_insert_iv

Remove the redundant l2pad parameter from the definition of
rt2x00crypto_rx_insert_iv which is used when only CONFIG_RT2500PCI but
none of the other rt2x00 family drivers is configured.

Signed-off-by: Andrew Price <andy@andrewprice.me.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Andrew Price 15 năm trước cách đây
mục cha
commit
fe24756336
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      drivers/net/wireless/rt2x00/rt2x00lib.h

+ 1 - 1
drivers/net/wireless/rt2x00/rt2x00lib.h

@@ -380,7 +380,7 @@ static inline void rt2x00crypto_tx_insert_iv(struct sk_buff *skb,
 {
 }
 
-static inline void rt2x00crypto_rx_insert_iv(struct sk_buff *skb, bool l2pad,
+static inline void rt2x00crypto_rx_insert_iv(struct sk_buff *skb,
 					     unsigned int header_length,
 					     struct rxdone_entry_desc *rxdesc)
 {