Commit 4df10c8c authored by Helmut Schaa's avatar Helmut Schaa Committed by John W. Linville

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

This makes the code less error-prone.
Acked-by: default avatarGertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: default avatarHelmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: default avatarIvo van Doorn <IvDoorn@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 55b585e2
...@@ -323,7 +323,7 @@ struct txentry_desc { ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment