diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2007-10-06 08:16:09 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:55:14 -0400 |
commit | 5cbf830e137d1b6057cb6b553a8ebbb7d1b9343f (patch) | |
tree | df0daca459a5fa9d472d2fe9bddd5dc2ac9633e4 /drivers/net/wireless/rt2x00/rt2x00lib.h | |
parent | dd9fa2d21aebbb618318954867c5dfe3751328be (diff) |
[PATCH] rt2x00: Pass dev_state to rt2x00lib_toggle_rx
Directly pass a value from the enum dev_state with rt2x00lib_toggle_rx,
this will save us a ? : statement, and it is clearer then passing a 1 0
argument.
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00lib.h b/drivers/net/wireless/rt2x00/rt2x00lib.h index 29ca932d77ab..298faa9d3f61 100644 --- a/drivers/net/wireless/rt2x00/rt2x00lib.h +++ b/drivers/net/wireless/rt2x00/rt2x00lib.h | |||
@@ -38,7 +38,7 @@ | |||
38 | */ | 38 | */ |
39 | int rt2x00lib_enable_radio(struct rt2x00_dev *rt2x00dev); | 39 | int rt2x00lib_enable_radio(struct rt2x00_dev *rt2x00dev); |
40 | void rt2x00lib_disable_radio(struct rt2x00_dev *rt2x00dev); | 40 | void rt2x00lib_disable_radio(struct rt2x00_dev *rt2x00dev); |
41 | void rt2x00lib_toggle_rx(struct rt2x00_dev *rt2x00dev, int enable); | 41 | void rt2x00lib_toggle_rx(struct rt2x00_dev *rt2x00dev, enum dev_state state); |
42 | void rt2x00lib_reset_link_tuner(struct rt2x00_dev *rt2x00dev); | 42 | void rt2x00lib_reset_link_tuner(struct rt2x00_dev *rt2x00dev); |
43 | 43 | ||
44 | /* | 44 | /* |