linux/net/mac80211
Thorsten Horstmann da7061c82e mac80211: Fix adding of mesh vendor IEs
The function ieee80211_ie_split_vendor doesn't return 0 on errors. Instead
it returns any offset < ielen when WLAN_EID_VENDOR_SPECIFIC is found. The
return value in mesh_add_vendor_ies must therefore be checked against
ifmsh->ie_len and not 0. Otherwise all ifmsh->ie starting with
WLAN_EID_VENDOR_SPECIFIC will be rejected.

Fixes: 082ebb0c25 ("mac80211: fix mesh beacon format")
Signed-off-by: Thorsten Horstmann <thorsten@defutech.de>
Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fit.fraunhofer.de>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
[sven@narfation.org: Add commit message]
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-02-06 07:55:44 +01:00
..
Kconfig
Makefile
aes_ccm.c
aes_ccm.h
aes_cmac.c
aes_cmac.h
aes_gcm.c
aes_gcm.h
aes_gmac.c
aes_gmac.h
agg-rx.c
agg-tx.c
cfg.c
chan.c mac80211: calculate min channel width correctly 2017-01-11 16:34:51 +01:00
debug.h
debugfs.c
debugfs.h
debugfs_key.c
debugfs_key.h
debugfs_netdev.c
debugfs_netdev.h
debugfs_sta.c
debugfs_sta.h
driver-ops.c
driver-ops.h
ethtool.c
fils_aead.c mac80211: Allocate a sync skcipher explicitly for FILS AEAD 2017-02-06 07:42:47 +01:00
fils_aead.h
ht.c
ibss.c
ieee80211_i.h
iface.c mac80211: recalculate min channel width on VHT opmode changes 2017-01-11 16:35:05 +01:00
key.c
key.h
led.c
led.h
main.c mac80211: initialize SMPS field in HT capabilities 2017-01-13 11:31:26 +01:00
mesh.c mac80211: Fix adding of mesh vendor IEs 2017-02-06 07:55:44 +01:00
mesh.h
mesh_hwmp.c
mesh_pathtbl.c
mesh_plink.c
mesh_ps.c
mesh_sync.c
michael.c
michael.h
mlme.c
ocb.c
offchannel.c
pm.c
rate.c mac80211: don't try to sleep in rate_control_rate_init() 2017-01-24 16:31:54 +01:00
rate.h
rc80211_minstrel.c
rc80211_minstrel.h
rc80211_minstrel_debugfs.c
rc80211_minstrel_ht.c
rc80211_minstrel_ht.h
rc80211_minstrel_ht_debugfs.c
rx.c mac80211: recalculate min channel width on VHT opmode changes 2017-01-11 16:35:05 +01:00
scan.c
spectmgmt.c
sta_info.c mac80211: fix the TID on NDPs sent as EOSP carrier 2017-01-11 16:32:58 +01:00
sta_info.h
status.c
tdls.c
tkip.c
tkip.h
trace.c
trace.h
trace_msg.h
tx.c mac80211: prevent skb/txq mismatch 2017-01-13 14:47:21 +01:00
util.c
vht.c mac80211: recalculate min channel width on VHT opmode changes 2017-01-11 16:35:05 +01:00
wep.c
wep.h
wme.c
wme.h
wpa.c
wpa.h