Commit 6cc6677a authored by Deepak Mishra's avatar Deepak Mishra Committed by Greg Kroah-Hartman

staging: rtl8712: Fixed CamelCase lockRxFF0Filter renamed to lock_rx_ff0_filter

In process of cleaning up struct _adapter in drv_types.h, lockRxFF0Filter
 is renamed to to lock_rx_ff0_filter to fix a checkpatch reported issue.
Signed-off-by: default avatarDeepak Mishra <linux.dkm@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 12efdd8d
...@@ -160,7 +160,7 @@ struct _adapter { ...@@ -160,7 +160,7 @@ struct _adapter {
int pid; /*process id from UI*/ int pid; /*process id from UI*/
struct work_struct wkFilterRxFF0; struct work_struct wkFilterRxFF0;
u8 blnEnableRxFF0Filter; u8 blnEnableRxFF0Filter;
spinlock_t lockRxFF0Filter; spinlock_t lock_rx_ff0_filter;
const struct firmware *fw; const struct firmware *fw;
struct usb_interface *pusb_intf; struct usb_interface *pusb_intf;
struct mutex mutex_start; struct mutex mutex_start;
......
...@@ -571,7 +571,7 @@ static int r871xu_drv_init(struct usb_interface *pusb_intf, ...@@ -571,7 +571,7 @@ static int r871xu_drv_init(struct usb_interface *pusb_intf,
/* step 6. Load the firmware asynchronously */ /* step 6. Load the firmware asynchronously */
if (rtl871x_load_fw(padapter)) if (rtl871x_load_fw(padapter))
goto error; goto error;
spin_lock_init(&padapter->lockRxFF0Filter); spin_lock_init(&padapter->lock_rx_ff0_filter);
mutex_init(&padapter->mutex_start); mutex_init(&padapter->mutex_start);
return 0; return 0;
error: error:
......
...@@ -102,9 +102,9 @@ void r8712_SetFilter(struct work_struct *work) ...@@ -102,9 +102,9 @@ void r8712_SetFilter(struct work_struct *work)
newvalue = oldvalue & 0xfe; newvalue = oldvalue & 0xfe;
r8712_write8(adapter, 0x117, newvalue); r8712_write8(adapter, 0x117, newvalue);
spin_lock_irqsave(&adapter->lockRxFF0Filter, irqL); spin_lock_irqsave(&adapter->lock_rx_ff0_filter, irqL);
adapter->blnEnableRxFF0Filter = 1; adapter->blnEnableRxFF0Filter = 1;
spin_unlock_irqrestore(&adapter->lockRxFF0Filter, irqL); spin_unlock_irqrestore(&adapter->lock_rx_ff0_filter, irqL);
do { do {
msleep(100); msleep(100);
} while (adapter->blnEnableRxFF0Filter == 1); } while (adapter->blnEnableRxFF0Filter == 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment