summaryrefslogtreecommitdiffstats
path: root/net/ipv6/addrconf.c
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2010-11-21 10:06:48 -0800
committerDavid S. Miller <davem@davemloft.net>2010-11-21 10:06:48 -0800
commit33ac0b84eecaf5e7ee3baa3ef8294e8d8d267cd6 (patch)
tree02d32c61deba8e400e4130a3486d101cc53de88a /net/ipv6/addrconf.c
parent7a1c8e5ab120a5f352e78bbc1fa5bb64e6f23639 (diff)
downloadop-kernel-dev-33ac0b84eecaf5e7ee3baa3ef8294e8d8d267cd6.zip
op-kernel-dev-33ac0b84eecaf5e7ee3baa3ef8294e8d8d267cd6.tar.gz
atl1c: Fix hardware type check for enabling OTP CLK
Commit 496c185c9495629ef1c65387cb2594578393cfe0 "atl1c: Add support for Atheros AR8152 and AR8152" added the condition: if (hw->nic_type == athr_l1c || hw->nic_type == athr_l2c_b) for enabling OTP CLK, and the condition: if (hw->nic_type == athr_l1c || hw->nic_type == athr_l2c) for disabling OTP CLK. Since the two previously defined hardware types are athr_l1c and athr_l2c, the latter condition appears to be the correct one. Change the former to match. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/addrconf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud