fragattacks/src/drivers
Jouni Malinen c643c39287 nl80211: Fix filtering of unsupported bands/modes
The loop for removing unsupported bands was assuming there is always
exactly one band/mode following the removed band. That was not at all
correct, so fix this by dynamically determining how many (if any) bands
need to be moved.

Fixes: 106d67a93c ("nl80211: Filter out unsupported bands")
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2020-11-02 18:38:41 +02:00
..
android_drv.h Remove obsolete license notifications 2013-12-24 22:59:52 +02:00
driver_atheros.c Rename WPA_ALG_IGTK to use the correct cipher name for BIP 2020-05-17 01:31:19 +03:00
driver_bsd.c BSD: don't log SIOCG80211 errors during interface setup 2020-10-09 16:50:36 +03:00
driver_common.c nl80211: Handle control port TX status events over nl80211 2020-06-21 17:55:26 +03:00
driver_hostap.c driver: Extend send_mlme() with wait option 2020-02-29 23:03:20 +02:00
driver_hostap.h Use SSID_MAX_LEN define instead of value 32 when comparing SSID length 2015-04-22 11:44:18 +03:00
driver_macsec_linux.c macsec_linux: Fix receive-lowest-PN setting 2020-10-11 20:35:35 +03:00
driver_macsec_qca.c MACsec: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
driver_ndis_.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
driver_ndis.c nl80211: Fetch information on supported AKMs from the driver 2020-05-12 16:57:17 +03:00
driver_ndis.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
driver_nl80211_android.c Drop support for libnl 1.1 2020-01-02 18:05:38 +02:00
driver_nl80211_capa.c nl80211: Fix filtering of unsupported bands/modes 2020-11-02 18:38:41 +02:00
driver_nl80211_event.c nl80211: Work around misdelivered control port TX status 2020-06-21 17:56:04 +03:00
driver_nl80211_monitor.c nl80211: Use monitor interface for sending no-encrypt test frames 2020-01-04 20:23:05 +02:00
driver_nl80211_scan.c nl80211: Add custom ack handler arguments to send_and_recv() 2020-06-21 16:57:45 +03:00
driver_nl80211.c nl80211: Check for proper nlmsg allocation in send_and_recv_msgs_owner() 2020-10-27 11:39:45 +02:00
driver_nl80211.h nl80211: Work around misdelivered control port TX status 2020-06-21 17:56:04 +03:00
driver_none.c driver: Remove unused send_ether() driver op 2020-01-05 18:32:10 +02:00
driver_openbsd.c Replace WPA_ALG_PMK with KEY_FLAG_PMK 2020-03-06 21:44:31 +02:00
driver_privsep.c privsep: Mask out control port capability flag 2020-03-01 21:31:07 +02:00
driver_roboswitch.c roboswitch: Check some read operation results 2019-03-09 18:56:48 +02:00
driver_wext.c Rename WPA_ALG_IGTK to use the correct cipher name for BIP 2020-05-17 01:31:19 +03:00
driver_wext.h driver: Move set_key() parameters into a struct 2020-01-09 00:48:57 +02:00
driver_wired_common.c wired: Mark some common helper functions static 2016-11-30 20:08:39 +02:00
driver_wired_common.h wired: Mark some common helper functions static 2016-11-30 20:08:39 +02:00
driver_wired.c Fix indentation level 2018-11-30 21:28:19 +02:00
driver.h Rename driver op for temporarily disallowed BSSIDs 2020-07-24 12:26:09 +03:00
drivers.c macsec_linux: Add a driver for macsec on Linux kernels 2016-11-30 20:08:36 +02:00
drivers.mak Drop support for libnl 1.1 2020-01-02 18:05:38 +02:00
drivers.mk Drop support for libnl 1.1 2020-01-02 18:05:38 +02:00
linux_defines.h nl80211: Move definitions into separate header files 2014-10-26 17:03:24 +02:00
linux_ioctl.c vlan: Use new bridge ioctl() 2019-01-02 00:23:43 +02:00
linux_ioctl.h nl80211: Generic Linux master interface support for hostapd 2015-07-16 12:33:29 +03:00
linux_wext.h wext: Fix musl build error 2014-12-14 18:05:32 +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 netlink: Fix RTM_SETLINK padding at the end of the message 2014-10-12 19:27:16 +03: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 include/uapi/linux/nl80211.h 2020-06-10 21:12:44 +03:00
priv_netlink.h netlink: Fix RTM_SETLINK padding at the end of the message 2014-10-12 19:27:16 +03:00
rfkill.c rfkill: Fix a memory leak 2016-02-16 00:14:47 +02:00
rfkill.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00