staging: wlan-ng: fixing coding style problems
authorModestas Stankus <stankus.modestas@gmail.com>
Thu, 31 Jul 2014 19:04:32 +0000 (22:04 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Aug 2014 22:00:18 +0000 (15:00 -0700)
WARNING: Unnecessary space before function pointer arguments
+       int (*func) (struct mibrec *mib,

WARNING: Missing a blank line after declarations
+                       hfa384x_WPAData_t wpa;
+                       if (isget) {

Signed-off-by: Modestas Stankus <stankus.modestas@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/prism2mib.c

index bdd3b4c442d29722e2719a5647c6d65f3fe68429..f4717089a80c68ae40a678e6f95dd3550e1dd584 100644 (file)
@@ -85,7 +85,7 @@ struct mibrec {
        u16 parm1;
        u16 parm2;
        u16 parm3;
-       int (*func) (struct mibrec *mib,
+       int (*func)(struct mibrec *mib,
                     int isget,
                     wlandevice_t *wlandev,
                     hfa384x_t *hw,
@@ -722,6 +722,7 @@ static int prism2mib_priv(struct mibrec *mib,
        switch (mib->did) {
        case DIDmib_lnx_lnxConfigTable_lnxRSNAIE:{
                        hfa384x_WPAData_t wpa;
+
                        if (isget) {
                                hfa384x_drvr_getconfig(hw,
                                                       HFA384x_RID_CNFWPADATA,