summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/e1000e/netdev.c
diff options
context:
space:
mode:
authorBruce Allan <bruce.w.allan@intel.com>2012-02-22 09:03:03 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2012-02-24 21:41:44 -0800
commitb20caa80e8c9b0180defb42678209dc0d6c229d2 (patch)
tree126e7ef4d92a1dbd4eddc7ccb7a2fa0b44b45e0f /drivers/net/ethernet/intel/e1000e/netdev.c
parentb2a50e1a1d16d8e377a0c540de36803197bde3fb (diff)
downloadlwn-b20caa80e8c9b0180defb42678209dc0d6c229d2.tar.gz
lwn-b20caa80e8c9b0180defb42678209dc0d6c229d2.zip
e1000e: use true/false for boolean send_xon, do not assume always true
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e/netdev.c')
-rw-r--r--drivers/net/ethernet/intel/e1000e/netdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c
index 56c1aec65186..8b62870e2c25 100644
--- a/drivers/net/ethernet/intel/e1000e/netdev.c
+++ b/drivers/net/ethernet/intel/e1000e/netdev.c
@@ -3464,7 +3464,7 @@ void e1000e_reset(struct e1000_adapter *adapter)
fc->pause_time = 0xFFFF;
else
fc->pause_time = E1000_FC_PAUSE_TIME;
- fc->send_xon = 1;
+ fc->send_xon = true;
fc->current_mode = fc->requested_mode;
switch (hw->mac.type) {