]> 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)
commite1a8075a22925c9dbdae91ae27ea841083871d5d
tree0cbb131178d893c6a8e607c85a00d35693b81654
parentf3d2f5231ce5f9c078d9ada82194537ba0cdc50c
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