commit | 80b998993d97d8a13589f8462e62a60298c72cf2 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Fri Nov 18 16:23:01 2011 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Nov 21 16:20:49 2011 -0500 |
tree | 0cbb131178d893c6a8e607c85a00d35693b81654 | |
parent | 7c4ef7122cef54dc49562eea35cbfaf0f44faa0b [diff] |
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>