On 04/22/2015 04:07 PM, Joe Perches wrote:
On Wed, 2015-04-22 at 15:43 +0200, Ivan Vecera wrote:
>The driver unlike other drivers does not log link state changes.
Why add all the speed stuff, why not add a query instead?

I think it'd be simpler to add a line like:
        status = be_cmd_link_status_query(adapter, &speed, &status, 0);
before emitting speed/link_status
The func be_link_status_update() is also called from be_async_link_state_process() and I'm not sure if it is possible to call be_cmd_link_status_query() from its context.

Ivan
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to