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

nl80211: clarify nl80211_set_reg() success path



Setting rd to NULL to avoid freeing it, just to be able to return
from the function in a single place, doesn't make much sense.

Return the set_regdom() return value directly.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 1dad640b
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