aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/tipc
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2018-12-15 11:03:11 +0200
committerJohannes Berg <johannes.berg@intel.com>2018-12-18 13:17:26 +0100
commitdd665d23c1e94ad81d8720e90666030c5714a158 (patch)
tree8bc403094cd834226108304df95d4c8746fe565d /net/tipc
parentmac80211: Properly handle SKB with radiotap only (diff)
downloadwireguard-linux-dd665d23c1e94ad81d8720e90666030c5714a158.tar.xz
wireguard-linux-dd665d23c1e94ad81d8720e90666030c5714a158.zip
mac80211: never pass NULL params to ieee80211_if_add()
This isn't really a problem now, but it means that the function has a few NULL checks that are only relevant when coming from the initial interface added in mac80211, and that's confusing. Just pass non-NULL (but equivalently empty) in that case and remove all the NULL checks. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions