[PATCH 2/4] Staging: wlan-ng: Solved coding style issues
From: Pablo Pellecchia
Date: Sun Sep 16 2018 - 14:56:36 EST
Added comments on struct hfa384x_usbctlxq structure
Signed-off-by: Pablo Pellecchia <pablo9891@xxxxxxxxx>
---
drivers/staging/wlan-ng/hfa384x.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 992ebaa1071f..f2ea389c870b 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -1182,11 +1182,12 @@ struct hfa384x_usbctlx {
ctlx_usercb_t usercb; /* Async user callback, */
void *usercb_data; /* at CTLX completion */
- int variant; /* Identifies cmd variant */
+ int variant; /* Identifies cmd variant */
};
+/*Queues for CTLX status.*/
struct hfa384x_usbctlxq {
- spinlock_t lock;
+ spinlock_t lock; /*Spinlock to allow mutual exclusion*/
struct list_head pending;
struct list_head active;
struct list_head completing;
--
2.14.1