]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Use common counter for capabilities checks
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Wed, 15 Feb 2017 18:17:59 +0000 (12:17 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Feb 2017 23:12:03 +0000 (18:12 -0500)
commitea4c225c7acc20318926c239339de610e43f24fa
tree1596ff0f77f303c1567809519ca93adf526470a6
parentb4c457aaa593e00d6d250e50daaacb75d77a269e
ibmvnic: Use common counter for capabilities checks

Two different counters were being used for capabilities
requests and queries. These commands are not called
at the same time so there is no reason a single counter
cannot be used.

Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c
drivers/net/ethernet/ibm/ibmvnic.h