]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: fix sending WoWLAN TCP wakeup settings
authorJohannes Berg <johannes.berg@intel.com>
Thu, 16 May 2013 08:24:28 +0000 (10:24 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 16 May 2013 20:38:09 +0000 (22:38 +0200)
commite6b28f70b4da5bcd9953f29c1439f15ccb488f42
treef1aec8826c778a1be30962f5fcd543d0eb7dcc29
parent6f8a8d1e9e5855b9cbf44bf86bb19039a1278518
cfg80211: fix sending WoWLAN TCP wakeup settings

The code sending the current WoWLAN TCP wakeup settings in
nl80211_send_wowlan_tcp() is not closing the nested attribute,
thus causing the parser to get confused on the receiver side
in userspace (iw). Fix this.

Cc: stable@vger.kernel.org [3.9]
Reported-by: Deepak Arora <deepakx.arora@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c