[PATCH] rt2x00: Pass dev_state to rt2x00lib_toggle_rx
authorIvo van Doorn <ivdoorn@gmail.com>
Sat, 6 Oct 2007 12:16:09 +0000 (14:16 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:55:14 +0000 (16:55 -0700)
commit5cbf830e137d1b6057cb6b553a8ebbb7d1b9343f
treedf0daca459a5fa9d472d2fe9bddd5dc2ac9633e4
parentdd9fa2d21aebbb618318954867c5dfe3751328be
[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>
drivers/net/wireless/rt2x00/rt2x00dev.c
drivers/net/wireless/rt2x00/rt2x00lib.h
drivers/net/wireless/rt2x00/rt2x00mac.c