diff options
author | Johannes Berg <johannes.berg@intel.com> | 2020-03-20 11:38:35 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-03-20 14:42:20 +0100 |
commit | 306b79ea6ece18d66bea80876983ae693d66ed52 (patch) | |
tree | 6ab7a386d038fa7e13030d9cf570fe25aa237e77 /net/mac80211 | |
parent | cfg80211: Configure PMK lifetime and reauth threshold for PMKSA entries (diff) | |
download | wireguard-linux-306b79ea6ece18d66bea80876983ae693d66ed52.tar.xz wireguard-linux-306b79ea6ece18d66bea80876983ae693d66ed52.zip |
nl80211: clarify code in nl80211_del_station()
The long if chain of interface types is hard to read,
especially now with the additional condition after it.
Use a switch statement to clarify this code.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20200320113834.2c51b9e8e341.I3fa5dc3f7d3cb1dbbd77191d764586f7da993f3f@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions