Skip to content
Commit cb35fba3 authored by Dan Carpenter's avatar Dan Carpenter Committed by Johannes Berg
Browse files

nl80211: nl80211hdr_put() doesn't return an ERR_PTR



There are a few places which check nl80211hdr_put() for an ERR_PTR
but actually it returns NULL on error and never error values.  In
nl80211_testmode_dump() the return wasn't checked at all so I have
added one.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
[some whitespace changes]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent ddfe49b4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment