tg3: Check all adv bits when checking config
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 31 Aug 2011 11:44:47 +0000 (11:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Sep 2011 19:56:39 +0000 (15:56 -0400)
commitb99d2a57b7d9e9e64e9193d70696b77ed035c311
tree20cb1cc38762382e539262da8f385f785f71eb21
parentaaba215ca0b4232824c92b830853f465f16a6672
tg3: Check all adv bits when checking config

This patch makes sure the driver checks all advertisement bits when
checking the current hw advertisements.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c