diff options
author | sudarsana.kalluru@cavium.com <sudarsana.kalluru@cavium.com> | 2017-04-19 03:19:52 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-20 16:29:39 -0400 |
commit | 66367dab30c7040e638e5496a47184cfc8ba39a4 (patch) | |
tree | 699d6d62125446b4ba29b10f7ab2dfb00da2a8cd /drivers/net/slip | |
parent | e9156cd26a495a18706e796f02a81fee41ec14f4 (diff) |
qed: Fix possible error in populating max_tc field.
Some adapters may not publish the max_tc value. Populate the default
value for max_tc field in case the mfw didn't provide one.
Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/slip')
0 files changed, 0 insertions, 0 deletions