summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sym53c8xx_2
diff options
context:
space:
mode:
authorAndrew Zaborowski2018-05-22 02:43:56 +0200
committerJohannes Berg2018-05-22 10:24:17 +0200
commitfed4825096cfbbfd654cb292ab6eb193911aef01 (patch)
treed5656c93e75d3a84deec61c9e34ce118cb839e71 /drivers/scsi/sym53c8xx_2
parentcfg80211: fix NULL pointer derference when querying regdb (diff)
downloadkernel-qcow2-linux-fed4825096cfbbfd654cb292ab6eb193911aef01.tar.gz
kernel-qcow2-linux-fed4825096cfbbfd654cb292ab6eb193911aef01.tar.xz
kernel-qcow2-linux-fed4825096cfbbfd654cb292ab6eb193911aef01.zip
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>
Diffstat (limited to 'drivers/scsi/sym53c8xx_2')
0 files changed, 0 insertions, 0 deletions