commit | fed4825096cfbbfd654cb292ab6eb193911aef01 | [log] [tgz] |
---|---|---|
author | Andrew Zaborowski <andrew.zaborowski@intel.com> | Tue May 22 02:43:56 2018 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Tue May 22 10:24:17 2018 +0200 |
tree | d5656c93e75d3a84deec61c9e34ce118cb839e71 | |
parent | 5247a77ced2d3396a32679c7480e8bcd5b26e471 [diff] |
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>