wifi: mac80211_hwsim: Directly use ida_alloc()/free()
authorKe Liu <liuke94@huawei.com>
Sat, 28 May 2022 09:31:40 +0000 (09:31 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 10 Jun 2022 14:13:01 +0000 (16:13 +0200)
commit1449c24e71a343a033af8de0842d1edb8a37926a
tree1bd7af33e22aa862382d14e53fc98915465b507a
parent8cbf0c2ab6dfd61066a6ce49d9d37d3d25b2d05f
wifi: mac80211_hwsim: Directly use ida_alloc()/free()

Use ida_alloc()/ida_free() instead of deprecated
ida_simple_get()/ida_simple_remove().

Signed-off-by: Ke Liu <liuke94@huawei.com>
Link: https://lore.kernel.org/r/20220528093140.1573816-1-liuke94@huawei.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c