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

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: default avatarJohannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20200320113834.2c51b9e8e341.I3fa5dc3f7d3cb1dbbd77191d764586f7da993f3f@changeid


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