diff options
author | Tony Nguyen <anthony.l.nguyen@intel.com> | 2019-04-16 10:21:23 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-05-04 14:33:44 -0700 |
commit | 8f529ff912073f778e3cd74e87fb69a36499fc2f (patch) | |
tree | 2a41d90967490b77a334c0d9167b4ea35bb30bf8 /drivers/net/ethernet/intel/ice/ice_lib.c | |
parent | a03499d614b8d86a7edb4fa0c20e87003248d643 (diff) |
ice: Separate if conditions for ice_set_features()
Set features can have multiple features turned on|off in a single
call. Grouping these all in an if/else means after one condition
is met, other conditions/features will not be evaluated. Break
the if/else statements by feature to ensure all features will be
handled properly.
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions