diff options
author | Ajay Singh <ajay.kathat@microchip.com> | 2019-02-07 11:28:58 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-07 13:34:45 +0100 |
commit | dda037057a572f5c82ac2499eb4e6fb17600ba3e (patch) | |
tree | acd0fcb11a6e808fb821b1625e22fdff43016ebd /drivers/ssb | |
parent | b9f46c060c28f037a9c0bf900ac192ef1d173d02 (diff) | |
download | linux-dda037057a572f5c82ac2499eb4e6fb17600ba3e.tar.bz2 |
staging: wilc1000: fix to set correct value for 'vif_num'
Set correct value in '->vif_num' for the total number of interfaces and
set '->idx' value using 'i'.
Fixes: 735bb39ca3be ("staging: wilc1000: simplify vif[i]->ndev accesses")
Fixes: 0e490657c721 ("staging: wilc1000: Fix problem with wrong vif index")
Cc: <stable@vger.kernel.org>
Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ssb')
0 files changed, 0 insertions, 0 deletions