Explorar o código

qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_assoc.h

Fix kernel checkpatch warnings in wlan_hdd_assoc.h.

Change-Id: Ia819c42b979964f825923f3060b68daef8d22dbb
CRs-Fixed: 2024274
Srinivas Girigowda %!s(int64=8) %!d(string=hai) anos
pai
achega
72136691fe
Modificáronse 1 ficheiros con 3 adicións e 4 borrados
  1. 3 4
      core/hdd/inc/wlan_hdd_assoc.h

+ 3 - 4
core/hdd/inc/wlan_hdd_assoc.h

@@ -83,14 +83,14 @@ typedef enum {
 } eConnectionState;
 
 /**
- * typedef ePeerStatus - Peer status
+ * enum peer_status - Peer status
  * @ePeerConnected: peer connected
  * @ePeerDisconnected: peer disconnected
  */
-typedef enum {
+enum peer_status {
 	ePeerConnected = 1,
 	ePeerDisconnected
-} ePeerStatus;
+};
 
 /**
  * struct hdd_conn_flag - connection flags
@@ -211,7 +211,6 @@ typedef struct hdd_adapter_s hdd_adapter_t;
 typedef struct hdd_context_s hdd_context_t;
 typedef struct hdd_station_ctx hdd_station_ctx_t;
 typedef struct hdd_ap_ctx_s hdd_ap_ctx_t;
-typedef struct hdd_mon_ctx_s hdd_mon_ctx_t;
 
 /**
  * hdd_is_connecting() - Function to check connection progress