bnx2x: get_ext_phy_fw_version returns NULL if not applicable
authorEilon Greenstein <eilong@broadcom.com>
Wed, 12 Aug 2009 08:22:59 +0000 (08:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Aug 2009 06:02:21 +0000 (23:02 -0700)
commit97b41dad385bce97d60b8cdd56342f07f93fc5d2
treef5d502735495eca994dc50969617b2abaa13813e
parentb1607af526fd408b244c7b32a0c256c1ef163a17
bnx2x: get_ext_phy_fw_version returns NULL if not applicable

To avoid confusion, if the PHY does not have a FW (and so, no FW version) make
sure that the string is NULL.

Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_link.c