rt2x00: Use an enum instead of u16 for the rate_mode TX descriptor field
authorHelmut Schaa <[email protected]>
Thu, 3 Mar 2011 18:44:10 +0000 (19:44 +0100)
committerJohn W. Linville <[email protected]>
Fri, 4 Mar 2011 19:06:48 +0000 (14:06 -0500)
This makes the code less error-prone.

Acked-by: Gertjan van Wingerde <[email protected]>
Signed-off-by: Helmut Schaa <[email protected]>
Signed-off-by: Ivo van Doorn <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
drivers/net/wireless/rt2x00/rt2x00queue.h

index 7f8528da03e49c6561ca204792a6215b4d680e78..0c8b0c6996799348f46710af9952920ed52e8434 100644 (file)
@@ -323,7 +323,7 @@ struct txentry_desc {
                } ht;
        } u;
 
-       u16 rate_mode;
+       enum rate_modulation rate_mode;
 
        short retry_limit;