enic: bug fix: check for zero port MTU before posting warning
authorScott Feldman <scofeldm@cisco.com>
Thu, 3 Sep 2009 17:02:40 +0000 (17:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Sep 2009 03:19:24 +0000 (20:19 -0700)
commit491598a44f12fe8b862ab4123de1a1ffe9b86832
tree2e985af4658cfc8a59132c0082817f94a8635438
parentd73149f51e165f5872bc431ae181650396145265
enic: bug fix: check for zero port MTU before posting warning

Nic firmware can return zero for port MTU, so check for non-zero value
before checking for change in port MTU.

Signed-off-by: Scott Feldman <scofeldm@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/enic/enic_main.c