diff options
author | Adham Abozaeid <adham.abozaeid@microchip.com> | 2018-05-23 17:02:14 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-25 18:45:47 +0200 |
commit | 979eb0c96be97ddefc46cf8659741cf3ffc54fd2 (patch) | |
tree | 987ff6e5127e0bd32d6793f84f38895201465420 /drivers/staging/mt7621-dma | |
parent | 173ffd0993fd3e6ec7e0e24424350a807605e6d0 (diff) |
staging: wilc1000: Avoid overriding rates_no while parsing ies element.
Commit d4b4aaba515a ("staging: wilc1000: fix line over 80 characters in
host_int_parse_join_bss_param()") introduced a bug by not keeping the
rates_no value while parsing ies elements.
It also increments auth_total_cnt as a pointer instead of its reference.
This commit fixes the bug by passing reference to rates_no to
host_int_parse_join_bss_param() and by incrementing reference of
auth_total_cnt
Fixes: d4b4aaba515a (staging: wilc1000: fix line over 80 characters in host_int_parse_join_bss_param())
Signed-off-by: Adham Abozaeid <adham.abozaeid@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/mt7621-dma')
0 files changed, 0 insertions, 0 deletions