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

Message ID f21541c16c83356e3cd1e08059847ef9a9eb2ef8.1687007788.git.philipp.g.hortmann@gmail.com
State New
Headers
Series staging: rtl8192e: Remove unsupported modes a and 5G |

Commit Message

Philipp Hortmann June 17, 2023, 1:57 p.m. UTC
  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>
---
 drivers/staging/rtl8192e/rtllib.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Patch

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 */