commit | d0aef029b53c70d6261ef9d4bd827c861d51a8ef | [log] [tgz] |
---|---|---|
author | Grygorii Strashko <grygorii.strashko@ti.com> | Thu Nov 30 18:21:16 2017 -0600 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 01 16:36:32 2017 -0500 |
tree | 5d67b3d218c2d8c8b5a3f202fc7638b7bca6c47a | |
parent | 4ff2c4bd119fdccca4cf78e0cfc1f92d645ff743 [diff] |
net: ethernet: ti: ale: disable ale from stop() ALE is enabled from cpsw_ale_start() now, but disabled only from cpsw_ale_destroy() which introduces inconsitance as cpsw_ale_start() is called when netif[s] is opened, but cpsw_ale_destroy() is called when driver is removed. Hence, move ALE disabling in cpsw_ale_stop(). Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>