Andrew Zaborowski fed4825096 mac80211_hwsim: Fix radio dump for radio idx 0
Since 6335698e24ec11e1324b916177da6721df724dd8 the radio with idx of 0
will not get dumped in HWSIM_CMD_GET_RADIO because of the last_idx
checks.  Offset cb->args[0] by 1 similarly to what is done in nl80211.c.

Fixes: 6335698e24ec ("mac80211_hwsim: add generation count for netlink dump operation")
Signed-off-by: Andrew Zaborowski <andrew.zaborowski@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2018-05-22 10:24:17 +02:00
..
2018-04-04 19:41:45 -07:00
2018-04-27 13:48:37 -04:00
2017-04-28 14:41:15 -04:00