提交 4df10c8c 编写于 作者: H Helmut Schaa 提交者: 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: NGertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: NHelmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: NIvo van Doorn <IvDoorn@gmail.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 55b585e2
......@@ -323,7 +323,7 @@ struct txentry_desc {
} ht;
} u;
u16 rate_mode;
enum rate_modulation rate_mode;
short retry_limit;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册