]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/wireless/airo.c
wireless: checkpatch cleanups
[linux-2.6-omap-h63xx.git] / drivers / net / wireless / airo.c
index d8948bf8a27510ddbcb3b191c355ad10824503be..42670acd144b4502b649160684194fada14aa6e4 100644 (file)
@@ -6408,9 +6408,8 @@ static int airo_set_encode(struct net_device *dev,
                        set_wep_key(local, index, NULL, 0, perm, 1);
                } else
                        /* Don't complain if only change the mode */
-                       if(!(dwrq->flags & IW_ENCODE_MODE)) {
+                       if (!(dwrq->flags & IW_ENCODE_MODE))
                                return -EINVAL;
-                       }
        }
        /* Read the flags */
        if(dwrq->flags & IW_ENCODE_DISABLED)