mac80211: avoid adding some IEs on TDLS setup failure packets
authorArik Nemtsov <arik@wizery.com>
Thu, 17 Jul 2014 14:14:21 +0000 (17:14 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 21 Jul 2014 10:14:03 +0000 (12:14 +0200)
commit1606ef4a9d294dde98a2185e3645468b08925a6f
tree5458c78320c1404e1e9fc7ff3904dc6ca0310a21
parentf09a87d274942bf619f5081ac6e9e9441f3eabc4
mac80211: avoid adding some IEs on TDLS setup failure packets

Most setup-specific information elements are not to be added when a
setup frame is sent with an error status code.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Reviewed-by: Liad Kaufman <liad.kaufman@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tdls.c