[PATCH 5/9] staging: rtl8192e: Rename rtllib_state to rtl_link_state

From: Philipp Hortmann
Date: Sat Jun 17 2023 - 09:57:36 EST


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@xxxxxxxxx>
---
drivers/staging/rtl8192e/rtllib.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h
index 2ebacd6720f1..1aabbe11b484 100644
--- a/drivers/staging/rtl8192e/rtllib.h
+++ b/drivers/staging/rtl8192e/rtllib.h
@@ -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 */
--
2.40.1