android_kernel_xiaomi_sm8350/core/hdd
Dustin Brown 61cc393b74 qcacld-3.0: Convert open adapters to vtable map
Using a switch case as a method for mapping an enumerated value to a
handler function has the down side of allowing future changes to pollute
the switch case with additional logic. It also tends to lead to high
cyclomatic complexity. Avoid these issues in hdd_open_adapters_for_mode
by converting the switch case to a vtable.

Change-Id: If91cbaf1e0ed561122b599550f3c450ec47eda31
CRs-Fixed: 2335970
2018-10-19 16:53:14 -07:00
..
inc qcacld-3.0: Prefer QDF_OPMODE in __wlan_hdd_cfg80211_change_iface 2018-10-18 00:20:52 -07:00
src qcacld-3.0: Convert open adapters to vtable map 2018-10-19 16:53:14 -07:00