diff options
author | Helmut Schaa <helmut.schaa@googlemail.com> | 2011-03-03 19:44:10 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-03-04 14:06:48 -0500 |
commit | 4df10c8c1353e5db781a9a781cc585698b24f30d (patch) | |
tree | 115abc8b2aab676a79255a90e2efbe663eb86c21 | |
parent | 55b585e29095ce64900b6192aadf399fa007161e (diff) |
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>
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00queue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.h b/drivers/net/wireless/rt2x00/rt2x00queue.h index 7f8528da03e..0c8b0c69967 100644 --- a/drivers/net/wireless/rt2x00/rt2x00queue.h +++ b/drivers/net/wireless/rt2x00/rt2x00queue.h @@ -323,7 +323,7 @@ struct txentry_desc { } ht; } u; - u16 rate_mode; + enum rate_modulation rate_mode; short retry_limit; |