net/sfc: fix link status when port is not started
authorAndrew Rybchenko <arybchenko@solarflare.com>
Thu, 12 Jan 2017 09:03:22 +0000 (09:03 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 30 Jan 2017 21:18:25 +0000 (22:18 +0100)
commit9b098c525beb17869afc4952fe9ac403ef3b46c7
tree521c2c0898f1d5a16a0820df6b34ed326bfb0923
parentf08a23778350a09ed0ff0e88fb287a3ef484304b
net/sfc: fix link status when port is not started

Fixes: 886f8d8a05bf ("net/sfc: retrieve link info")

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andrew Lee <alee@solarflare.com>
drivers/net/sfc/sfc_ethdev.c