diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2015-10-17 22:28:54 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-18 06:56:10 +0300 |
commit | 064e08350f122dbede94be231e7de9012ae47ec0 (patch) | |
tree | 6c311b9eb52d09dfd28906c942b4c0680c2364ac /drivers/staging/octeon/ethernet-rgmii.c | |
parent | 63f2be5c3b358db031f86eafa9cd450f6558a55b (diff) | |
download | linux-064e08350f122dbede94be231e7de9012ae47ec0.tar.xz |
staging: octeon-ethernet: rgmii: poll link status on open
Get the initial link status already on open instead of postponing
it to the periodic poll task. This unifies the behaviour with
other interfaces types.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/octeon/ethernet-rgmii.c')
-rw-r--r-- | drivers/staging/octeon/ethernet-rgmii.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/octeon/ethernet-rgmii.c b/drivers/staging/octeon/ethernet-rgmii.c index 51dcb611702f..98ad4cdb05bc 100644 --- a/drivers/staging/octeon/ethernet-rgmii.c +++ b/drivers/staging/octeon/ethernet-rgmii.c @@ -207,7 +207,7 @@ static irqreturn_t cvm_oct_rgmii_rml_interrupt(int cpl, void *dev_id) int cvm_oct_rgmii_open(struct net_device *dev) { - return cvm_oct_common_open(dev, cvm_oct_rgmii_poll, false); + return cvm_oct_common_open(dev, cvm_oct_rgmii_poll, true); } static void cvm_oct_rgmii_immediate_poll(struct work_struct *work) |