diff options
author | Modestas Stankus <stankus.modestas@gmail.com> | 2014-07-31 19:04:32 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-01 22:00:18 (GMT) |
commit | 6f8eee65a3bfaa22a1bc902997d7603f9ef20cc0 (patch) | |
tree | 73270dbe8a093b137211c392afe76a3434a60d05 | |
parent | 27fc26f99e63bcbe42176f08eaf590bff81a2e1c (diff) | |
download | linux-6f8eee65a3bfaa22a1bc902997d7603f9ef20cc0.tar.xz |
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 <stankus.modestas@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/wlan-ng/prism2mib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/wlan-ng/prism2mib.c b/drivers/staging/wlan-ng/prism2mib.c index bdd3b4c..f471708 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, |