Search Linux Wireless

[PATCH] d80211: use default flags on virtual interfaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



d80211: use default flags on virtual interfaces

There is no need to set dev->flags on virtual interfaces
during registration.

Signed-off-by: Michael Wu <flamingice@xxxxxxxxxxxx>
---

 net/d80211/ieee80211_iface.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/net/d80211/ieee80211_iface.c b/net/d80211/ieee80211_iface.c
index 3b2d259..342ad2a 100644
--- a/net/d80211/ieee80211_iface.c
+++ b/net/d80211/ieee80211_iface.c
@@ -75,7 +75,6 @@ int ieee80211_if_add(struct net_device *
 	ndev->irq = dev->irq;
 	ndev->mem_start = dev->mem_start;
 	ndev->mem_end = dev->mem_end;
-	ndev->flags = dev->flags & IFF_MULTICAST;
 	SET_NETDEV_DEV(ndev, local->hw.dev);
 
 	sdata = IEEE80211_DEV_TO_SUB_IF(ndev);

Attachment: pgpGwdtdryxP3.pgp
Description: PGP signature


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux