hostapd/src/drivers
Jithu Jance d1bb7aeda4 nl80211: Fix non-hostapd interface addition to not call add_ifidx()
Commit b36935be1a ('nl80211: Fix EAPOL
frames not being delivered') and commit
147848ec4d ('nl80211: Do not add all
virtual interfaces to drv->if_indices') were not fully in sync and it
was possible for some non-hostapd use cases to end up adding undesired
ifindexes into the list of interfaces from which events and EAPOL frames
are processed on the parent interface. This could result, e.g., in P2P
Device management interface on getting unexpected events, including
RTM_NEWLINK event that could end up getting interpreted as an
indication of the interface being down and unavailable.

Make both add_ifidx() calls use the same criteria for adding interfaces
to the local list. This is not really a complete solution, but it is
good enough for now to fix the most visible side effects of this issue.

Signed-off-by: Jithu Jance <jithu@broadcom.com>
2014-06-17 01:35:07 +03:00
..
.gitignore Force rebuilding of src/drivers between hostapd and wpa_supplicant 2009-08-14 20:40:37 +03:00
android_drv.h Remove obsolete license notifications 2013-12-24 22:59:52 +02:00
driver.h MACsec: Add driver_ops 2014-05-09 20:05:28 +03:00
driver_atheros.c atheros: Add support for new GCMP/CCMP/CMAC/GMAC cipher suites 2014-06-09 19:21:48 +03:00
driver_bsd.c bsd: Fix hostapd compiler warning 2014-02-03 19:34:49 +02:00
driver_common.c P2P: Apply unsafe frequency rules to available channels 2014-01-27 11:49:05 +02:00
driver_hostap.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
driver_hostap.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
driver_macsec_qca.c Add macsec_qca driver wrapper 2014-05-09 20:42:44 +03:00
driver_madwifi.c Remove forgotten notes about already removed driver wrappers 2014-01-02 10:23:30 +02:00
driver_ndis.c Get rid of duplicated cipher suite and AKM definitions 2013-12-31 09:16:27 +02:00
driver_ndis.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
driver_ndis_.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
driver_nl80211.c nl80211: Fix non-hostapd interface addition to not call add_ifidx() 2014-06-17 01:35:07 +03:00
driver_none.c Remove the GPL notification from files contributed by Atheros 2012-02-11 19:39:36 +02:00
driver_openbsd.c Add driver for OpenBSD net80211 layer 2013-02-03 21:16:29 +02:00
driver_privsep.c Remove unused disassociate() driver_ops 2012-11-15 00:06:12 +02:00
driver_roboswitch.c roboswitch: Verify that register read succeeds before comparing result 2014-03-02 17:15:12 +02:00
driver_test.c Make dl_list_first() and dl_list_last() uses easier for static analyzers 2014-04-29 12:52:10 +03:00
driver_wext.c wext: Verify set_ssid results consistently (CID 62842) 2014-06-14 12:32:53 +03:00
driver_wext.h Android: Remove old WEXT extensions 2013-12-24 22:52:18 +02:00
driver_wired.c wired: Wait for the link to become active before sending packets 2013-08-25 11:40:19 +03:00
drivers.c Add macsec_qca driver wrapper 2014-05-09 20:42:44 +03:00
drivers.mak atheros: Add support for new GCMP/CCMP/CMAC/GMAC cipher suites 2014-06-09 19:21:48 +03:00
drivers.mk Add driver for OpenBSD net80211 layer 2013-02-03 21:16:29 +02:00
linux_ioctl.c Verify that readlink() did not truncate result 2013-10-26 15:55:39 +03:00
linux_ioctl.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
linux_wext.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
Makefile Add CONFIG_CODE_COVERAGE=y option for gcov 2013-11-24 19:16:12 +02:00
ndis_events.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
netlink.c nl80211: Clean up netlink parsing and debug prints 2014-01-07 10:45:12 +02:00
netlink.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
nl80211_copy.h Sync with mac80211-next.git nl80211.h 2014-04-29 12:52:09 +03:00
priv_netlink.h nl80211: Clean up netlink parsing and debug prints 2014-01-07 10:45:12 +02:00
rfkill.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
rfkill.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00