OSDN Git Service

staging: r8188eu: replace confusing macros
authorNam Cao <namcaov@gmail.com>
Tue, 14 Jun 2022 15:58:44 +0000 (17:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Jun 2022 07:58:58 +0000 (09:58 +0200)
commitd3bf108493f20a803b04fd7620f56dabeed47089
tree2469e6a1ea562ad4588ba19b455354b341608296
parent488ca2cb93453e4ef27162fc61c1b525ef04bc47
staging: r8188eu: replace confusing macros

The macro GET_TX_REPORT_TYPE1_RERTY_0 and similar macros are not
obvious on what they are doing. Replace them with clearer codes.

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Nam Cao <namcaov@gmail.com>
Link: https://lore.kernel.org/r/e697e47aad21362f68d148d2351e6d49f4fa9eaf.1655220367.git.namcaov@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/Hal8188ERateAdaptive.c
drivers/staging/r8188eu/include/Hal8188ERateAdaptive.h