diff options
author | Alexandros C. Couloumbis <alex@ozo.com> | 2010-07-29 14:13:51 +0000 |
---|---|---|
committer | Alexandros C. Couloumbis <alex@ozo.com> | 2010-07-29 14:13:51 +0000 |
commit | cb8ce973f77f7eaf7a1d1cfef39425b3f3f78d1f (patch) | |
tree | 26be1742108c54b6c7b21207fd849a79e043136f /target/linux/atheros | |
parent | 4f36f4051a0f126ed1ff87cebad9ad349d721d1b (diff) | |
download | upstream-cb8ce973f77f7eaf7a1d1cfef39425b3f3f78d1f.tar.gz upstream-cb8ce973f77f7eaf7a1d1cfef39425b3f3f78d1f.tar.bz2 upstream-cb8ce973f77f7eaf7a1d1cfef39425b3f3f78d1f.zip |
atheros/patches-2.6.35: sync patches against 2.6.35-rc6
SVN-Revision: 22411
Diffstat (limited to 'target/linux/atheros')
-rw-r--r-- | target/linux/atheros/patches-2.6.35/111-ar231x-mc_count.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/atheros/patches-2.6.35/111-ar231x-mc_count.patch b/target/linux/atheros/patches-2.6.35/111-ar231x-mc_count.patch new file mode 100644 index 0000000000..b9c3e07a5b --- /dev/null +++ b/target/linux/atheros/patches-2.6.35/111-ar231x-mc_count.patch @@ -0,0 +1,11 @@ +--- a/drivers/net/ar231x.c ++++ b/drivers/net/ar231x.c +@@ -321,7 +321,7 @@ static void ar231x_multicast_list(struct + filter |= MAC_CONTROL_PR; + else + filter &= ~MAC_CONTROL_PR; +- if ((dev->flags & IFF_ALLMULTI) || (dev->mc_count > 0)) ++ if ((dev->flags & IFF_ALLMULTI) || (netdev_mc_count(dev) > 0)) + filter |= MAC_CONTROL_PM; + else + filter &= ~MAC_CONTROL_PM; |