diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2007-11-27 15:49:50 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:05:09 -0500 |
commit | d28c2561fb09dcc0b47ae0ba12083cf0d988495f (patch) | |
tree | 2226eafcc717af2e21e9f872978938ba64fbc6c6 /drivers/net/wireless/rt2x00/rt2x00dev.c | |
parent | 4d8dd66c1659ba0d1b110ed0488f4f6ffbc90e71 (diff) |
rt2x00: Use IEEE80211_IF_TYPE_INVALID directly
No need to use a seperate define INVALID_INTERFACE while
we can use IEEE80211_IF_TYPE_INVALID directly.
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/rt2x00dev.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c index 48e251561f83..bd7b73824d0f 100644 --- a/drivers/net/wireless/rt2x00/rt2x00dev.c +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c | |||
@@ -1170,7 +1170,7 @@ int rt2x00lib_probe_dev(struct rt2x00_dev *rt2x00dev) | |||
1170 | /* | 1170 | /* |
1171 | * Reset current working type. | 1171 | * Reset current working type. |
1172 | */ | 1172 | */ |
1173 | rt2x00dev->interface.type = INVALID_INTERFACE; | 1173 | rt2x00dev->interface.type = IEEE80211_IF_TYPE_INVALID; |
1174 | 1174 | ||
1175 | /* | 1175 | /* |
1176 | * Allocate ring array. | 1176 | * Allocate ring array. |