netvsc: fix netvsc_set_channels
authorstephen hemminger <stephen@networkplumber.org>
Mon, 24 Jul 2017 17:57:28 +0000 (10:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jul 2017 00:39:19 +0000 (17:39 -0700)
commit7ca4593338e19595cad48fa8dcd1da28c81352d6
tree95715daccd03f670bc814214b1540b8f6ebd956b
parent43bf99ce009de710b68473480a611f3b5ddd11d5
netvsc: fix netvsc_set_channels

The number of channels returned by rndis_filter_device_add maybe
less than the number requested. Therefore set correct real
number of queues.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c