commit | 6513e98e05ccb8eca77adaf93beae44aa7bf4a45 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Jun 10 20:18:55 2015 +0300 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Jul 17 15:38:09 2015 +0200 |
tree | bc07eec4c9ba58db59e6de2e33aa7d87246e8472 | |
parent | e996ec2a4ddb53164262990d33304c429709f687 [diff] |
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>