]> www.infradead.org Git - users/dwmw2/linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Jun 2013 19:52:24 +0000 (12:52 -0700)
commit239ab3670a5241414b5e60bf8be0c819468c160c
treed2473d492f43dfb155e82cfb40f3fbc210c187f9
parentc183f01b8c909323c42c77304f2fc4ad68cbd4a8
cfg80211: fix sending WoWLAN TCP wakeup settings

commit e248ad30204eff6559b4d2d94d49d9d46c08185a upstream.

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.

Reported-by: Deepak Arora <deepakx.arora@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/wireless/nl80211.c