Skip to content
Commit 91046d63 authored by Johannes Berg's avatar Johannes Berg
Browse files

nl80211: fix VENDOR_CMD_RAW_DATA



Since ERR_PTR() is an inline, not a macro, just open-code it
here so it's usable as an initializer, fixing the build in
brcmfmac.

Reported-by: default avatarArend Van Spriel <arend.vanspriel@broadcom.com>
Fixes: 901bb989

 ("nl80211: require and validate vendor command policy")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 1667e4f9
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