nl80211: Fix nla_nest_start conversion
authorJohannes Berg <johannes.berg@intel.com>
Tue, 23 Apr 2013 14:19:20 +0000 (17:19 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 23 Apr 2013 14:19:20 +0000 (17:19 +0300)
commitadc96dc2ad3b9eeeb79ea817dd00f01b97f4073a
tree80bbeeccccd6336cc97ebf0157e031f621529687
parent060605226fb7fe0b2e3eec234b842c7ee8c4fcb0
nl80211: Fix nla_nest_start conversion

Dmitry reported that the kernel could no longer parse the
scheduled scan attributes correctly after my patch to use
nla_nest_start/nla_nest_end. The reason is that the wrong
attribute is closed I accidentally made it close the full
scan config instead of just the SSID match set.

Reported-by: Dmitry Shmidt <dimitrysh@google.com>
Signed-hostap: Johannes Berg <johannes.berg@intel.com>
src/drivers/driver_nl80211.c