linux_old1/drivers/net/wireless/hostap
Daniel Drake 09703f5e79 [HOSTAP]: set netdev type before registering AP interface
As detailed at https://bugs.gentoo.org/159646 hostap with hostapd confuses
udev by presenting 2 interfaces with the same MAC address. Also, at the time
of detection, the 'type' attribute is 1, identical to other hostap interfaces.

The AP interface is supposed to have type ARPHRD_IEEE80211 (801), but this is
not set until after registration.

Setting it before register_netdev() is called allows us to avoid this
confusion. We can do this by propogating the HOSTAP_INTERFACE type through
to hostap_setup_dev().

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-10 16:54:09 -07:00
..
Kconfig [WIRELESS]: Refactor wireless Kconfig. 2007-04-25 22:29:40 -07:00
Makefile [PATCH] hostap: don't #include C files in hostap_main.c 2006-01-16 16:51:54 -05:00
hostap.h [HOSTAP]: set netdev type before registering AP interface 2007-10-10 16:54:09 -07:00
hostap_80211.h [PATCH] hostap: Make hostap_tx_encrypt() static 2006-03-27 11:40:32 -05:00
hostap_80211_rx.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
hostap_80211_tx.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
hostap_ap.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
hostap_ap.h [PATCH] hostap: don't #include C files in hostap_main.c 2006-01-16 16:51:54 -05:00
hostap_common.h [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
hostap_config.h [PATCH] hostap: Remove driver version number 2007-07-08 22:16:38 -04:00
hostap_cs.c [PATCH] dev->priv to netdev_priv(dev), for drivers/net/wireless 2007-10-10 16:49:37 -07:00
hostap_download.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
hostap_hw.c [HOSTAP]: set netdev type before registering AP interface 2007-10-10 16:54:09 -07:00
hostap_info.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
hostap_ioctl.c [NET]: Move hardware header operations out of netdevice. 2007-10-10 16:52:52 -07:00
hostap_main.c [HOSTAP]: set netdev type before registering AP interface 2007-10-10 16:54:09 -07:00
hostap_pci.c PCI: remove useless pci driver method 2007-07-11 16:02:08 -07:00
hostap_plx.c PCI: remove useless pci driver method 2007-07-11 16:02:08 -07:00
hostap_proc.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
hostap_wlan.h [NET]: Move hardware header operations out of netdevice. 2007-10-10 16:52:52 -07:00