commit | 4b32cacca28fe8b29bf266feff19b6fc2180402e | [log] [tgz] |
---|---|---|
author | Michael Chan <michael.chan@broadcom.com> | Mon Mar 07 15:38:43 2016 -0500 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 08 14:51:43 2016 -0500 |
tree | 915dbc137f364f74fd1f8cefe1a945261bdb1bf6 | |
parent | 3277360eb29c6e482391975717d983060ecbd28d [diff] |
bnxt_en: Use common function to get ethtool supported flags. The supported bits and advertising bits in ethtool have the same definitions. The same is true for the firmware bits. So use the common function to handle the conversion for both supported and advertising bits. v2: Don't use parentheses on function return. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>