]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/ni52.c
fat: Fix ATTR_RO in the case of (~umask & S_WUGO) == 0
[linux-2.6-omap-h63xx.git] / drivers / net / ni52.c
index a316dcc8a06d5e61576c1ce4b1ba9e8073cb0d76..b9a882d362da1f7bdbc34c76be0958815fc2c684 100644 (file)
@@ -621,7 +621,7 @@ static int init586(struct net_device *dev)
                if (num_addrs > len) {
                        printk(KERN_ERR "%s: switching to promisc. mode\n",
                                dev->name);
-                       dev->flags |= IFF_PROMISC;
+                       writeb(0x01, &cfg_cmd->promisc);
                }
        }
        if (dev->flags & IFF_PROMISC)