rt2x00: Use an enum instead of u16 for the rate_mode TX descriptor field

This makes the code less error-prone.

Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Helmut Schaa 2011-03-03 19:44:10 +01:00 committed by John W. Linville
parent 55b585e290
commit 4df10c8c13
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ struct txentry_desc {
} ht; } ht;
} u; } u;
u16 rate_mode; enum rate_modulation rate_mode;
short retry_limit; short retry_limit;