diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-12-20 04:53:29 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 15:58:34 -0500 |
commit | 84e3196ff867c623056eea02c11a45e046490d89 (patch) | |
tree | a2f5c1d69a63b22f202713a501762a777e04d19a /drivers/net/wireless/rt2x00/rt2x00debug.c | |
parent | 7d7f19ccb777946df0a8fb7c83189ba2ae08b02e (diff) |
rt2x00: Move link tuning into seperate file
Move link and antenna tuning into a seperate file named rt2x00link.c,
this makes the interface to the link tuner a lot cleaner.
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/rt2x00debug.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00debug.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00debug.c b/drivers/net/wireless/rt2x00/rt2x00debug.c index 54dd10060bf1..cc1940605349 100644 --- a/drivers/net/wireless/rt2x00/rt2x00debug.c +++ b/drivers/net/wireless/rt2x00/rt2x00debug.c | |||
@@ -130,9 +130,11 @@ struct rt2x00debug_intf { | |||
130 | }; | 130 | }; |
131 | 131 | ||
132 | void rt2x00debug_update_crypto(struct rt2x00_dev *rt2x00dev, | 132 | void rt2x00debug_update_crypto(struct rt2x00_dev *rt2x00dev, |
133 | enum cipher cipher, enum rx_crypto status) | 133 | struct rxdone_entry_desc *rxdesc) |
134 | { | 134 | { |
135 | struct rt2x00debug_intf *intf = rt2x00dev->debugfs_intf; | 135 | struct rt2x00debug_intf *intf = rt2x00dev->debugfs_intf; |
136 | enum cipher cipher = rxdesc->cipher; | ||
137 | enum rx_crypto status = rxdesc->cipher_status; | ||
136 | 138 | ||
137 | if (cipher == CIPHER_TKIP_NO_MIC) | 139 | if (cipher == CIPHER_TKIP_NO_MIC) |
138 | cipher = CIPHER_TKIP; | 140 | cipher = CIPHER_TKIP; |