]> git.baikalelectronics.ru Git - 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)
commit74c117b50b366a6f17286e8841557fc5d203e00b
tree0cbb131178d893c6a8e607c85a00d35693b81654
parent31ffde3f5064bd8e0d265a79cd089b8c5c005eb6
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