staging: ath6kl: Fixing a compilation error introduced by commit ec53d6123bea9f69887f...
authorVipin Mehta <vmehta@atheros.com>
Wed, 8 Sep 2010 00:06:50 +0000 (17:06 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 8 Sep 2010 09:02:26 +0000 (02:02 -0700)
Signed-off-by: Vipin Mehta <vmehta@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ath6kl/os/linux/ioctl.c

index 8ed87e783abf0a543df488982c037f84b3371536..d5f7ac08ab967181e5c2a9883d95f8dc7e1d3493 100644 (file)
@@ -2713,7 +2713,7 @@ int ar6000_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
                break;
            }
 
-           if (get_user(cmd.ieType, userdata))
+           if (get_user(cmd.ieType, userdata)) {
                ret = -EFAULT;
                break;
            }