From: Modestas Stankus Date: Thu, 31 Jul 2014 19:04:32 +0000 (+0300) Subject: staging: wlan-ng: fixing coding style problems X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6f8eee65a3bfaa22a1bc902997d7603f9ef20cc0;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: wlan-ng: fixing coding style problems 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wlan-ng/prism2mib.c b/drivers/staging/wlan-ng/prism2mib.c index bdd3b4c442d2..f4717089a80c 100644 --- a/drivers/staging/wlan-ng/prism2mib.c +++ b/drivers/staging/wlan-ng/prism2mib.c @@ -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,