]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
Staging: rt2860: Fix brace coding style issue
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 6 Sep 2010 03:55:55 +0000 (20:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 6 Sep 2010 03:55:55 +0000 (20:55 -0700)
This fixes a single brace issue in the rt_linux.c file.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rt2860/rt_linux.c

index 6536965df3f30ed86a5238e976bd4542553eacad..5b79f655bb0b222edf7147c10f0ab1d7f293c3ba 100644 (file)
@@ -1313,9 +1313,8 @@ int RtmpOSNetDevAttach(struct net_device *pNetDev,
                /* OS specific flags, here we used to indicate if we are virtual interface */
                pNetDev->priv_flags = pDevOpHook->priv_flags;
 
-               if (pAd->OpMode == OPMODE_STA) {
+               if (pAd->OpMode == OPMODE_STA)
                        pNetDev->wireless_handlers = &rt28xx_iw_handler_def;
-               }
 
                /* copy the net device mac address to the net_device structure. */
                NdisMoveMemory(pNetDev->dev_addr, &pDevOpHook->devAddr[0],