Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mac80211: allow passing NULL to ieee80211_vif_to_wdev()
Simply return NULL in this case, instead of crashing. This can simplify callers that would otherwise have to check for this explicitly. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
- Loading branch information