]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
nl80211: make get_vlan logic more common
authorJohannes Berg <johannes.berg@intel.com>
Fri, 18 Nov 2011 15:23:01 +0000 (16:23 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Nov 2011 21:20:49 +0000 (16:20 -0500)
commit80b998993d97d8a13589f8462e62a60298c72cf2
tree0cbb131178d893c6a8e607c85a00d35693b81654
parent7c4ef7122cef54dc49562eea35cbfaf0f44faa0b
nl80211: make get_vlan logic more common

get_vlan() sets the output parameter even if it
returns an error, which is a bit odd. Instead,
convert it to use ERR_PTR.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c