summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8712
diff options
context:
space:
mode:
authorAnuradha Weeraman <anuradha@weeraman.com>2016-06-27 13:12:16 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-21 18:26:45 +0200
commitaf07477f594d131c8e9bda419ea3d9c38b950ee5 (patch)
tree129f1047ba0bebf424b80428a7c325ee4f44a2b3 /drivers/staging/rtl8712
parent7c2bb7aff9b5ef83c5b1fd3a9ef0af39bbbf1f7a (diff)
downloadtalos-obmc-linux-af07477f594d131c8e9bda419ea3d9c38b950ee5.tar.gz
talos-obmc-linux-af07477f594d131c8e9bda419ea3d9c38b950ee5.zip
Staging: rtl8712: Fixed brace and comment style issue
Fixed issues with coding style. Signed-off-by: Anuradha Weeraman <anuradha@weeraman.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712')
-rw-r--r--drivers/staging/rtl8712/xmit_linux.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/drivers/staging/rtl8712/xmit_linux.c b/drivers/staging/rtl8712/xmit_linux.c
index 695f9b9fc749..1e86133cada1 100644
--- a/drivers/staging/rtl8712/xmit_linux.c
+++ b/drivers/staging/rtl8712/xmit_linux.c
@@ -91,7 +91,8 @@ void r8712_set_qos(struct pkt_file *ppktfile, struct pkt_attrib *pattrib)
} else {
/* "When priority processing of data frames is supported,
* a STA's SME should send EAPOL-Key frames at the highest
- * priority." */
+ * priority."
+ */
if (pattrib->ether_type == 0x888e)
UserPriority = 7;
@@ -162,16 +163,16 @@ int r8712_xmit_entry(_pkt *pkt, struct net_device *pnetdev)
struct _adapter *padapter = netdev_priv(pnetdev);
struct xmit_priv *pxmitpriv = &(padapter->xmitpriv);
- if (!r8712_if_up(padapter)) {
+ if (!r8712_if_up(padapter))
goto _xmit_entry_drop;
- }
+
pxmitframe = r8712_alloc_xmitframe(pxmitpriv);
- if (!pxmitframe) {
+ if (!pxmitframe)
goto _xmit_entry_drop;
- }
- if ((!r8712_update_attrib(padapter, pkt, &pxmitframe->attrib))) {
+
+ if ((!r8712_update_attrib(padapter, pkt, &pxmitframe->attrib)))
goto _xmit_entry_drop;
- }
+
padapter->ledpriv.LedControlHandler(padapter, LED_CTL_TX);
pxmitframe->pkt = pkt;
if (r8712_pre_xmit(padapter, pxmitframe)) {
OpenPOWER on IntegriCloud