OSDN Git Service

mac80211_hwsim: add generation count for netlink dump operation
authorBenjamin Beichler <benjamin.beichler@uni-rostock.de>
Mon, 22 Jan 2018 17:04:37 +0000 (18:04 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 31 Jan 2018 11:48:06 +0000 (12:48 +0100)
commit6335698e24ec11e1324b916177da6721df724dd8
tree13fa9ef20f3e50f8362c41bf02d781230f3d224e
parent301b04040c3ea2512b8936f419efbbaef2645ccb
mac80211_hwsim: add generation count for netlink dump operation

Make the dump operation aware of changes on radio list and corresponding
inconsistent dumps. Changed variable name for better understanding.

Signed-off-by: Benjamin Beichler <benjamin.beichler@uni-rostock.de>
[compress ternary operator]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c