staging: rtl8192e: Rename rtllib_state to rtl_link_state
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sat, 17 Jun 2023 13:57:10 +0000 (15:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jun 2023 12:54:51 +0000 (14:54 +0200)
Rename rtllib_state to rtl_link_state to align with rtlwifi driver and to
increase readability as state is to general.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/f21541c16c83356e3cd1e08059847ef9a9eb2ef8.1687007788.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib.h

index 2ebacd6720f1de05c07471d17e2f2b28ede825f0..1aabbe11b484f8e008fe074a8fec0bad8e81f23a 100644 (file)
@@ -1119,7 +1119,7 @@ struct rtllib_network {
        struct list_head list;
 };
 
-enum rtllib_state {
+enum rtl_link_state {
        /* the card is not linked at all */
        RTLLIB_NOLINK = 0,
 
@@ -1489,7 +1489,7 @@ struct rtllib_device {
         */
        struct rtllib_network current_network;
 
-       enum rtllib_state state;
+       enum rtl_link_state state;
 
        int short_slot;
        int mode;       /* A, B, G */