diff options
author | Aleksandr Loktionov <aleksandr.loktionov@intel.com> | 2019-04-24 05:20:55 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-06-14 13:03:39 -0700 |
commit | c1e212bfc32ea8368ef3fa5232203029be507908 (patch) | |
tree | c2d3accc5b50904d6a669814b9ed3f6143c51f98 /net/lapb/lapb_iface.c | |
parent | 781ee4ae16e5c7482ed2e0027aaaccace4c7a885 (diff) | |
download | linux-c1e212bfc32ea8368ef3fa5232203029be507908.tar.gz linux-c1e212bfc32ea8368ef3fa5232203029be507908.tar.bz2 linux-c1e212bfc32ea8368ef3fa5232203029be507908.zip |
i40e: Missing response checks in driver when starting/stopping FW LLDP
Driver updated pf->flags before calling i40e_aq_start_lldp().
This patch moved down updating pf->flags down so flags will be
updated only in case of successful i40e_aq_start_lldp() call.
Also was introduced is_reset_needed local flag to avoid unnecessary h/w
reset in case 40e_aq_start_lldp() didn't change lldp state.
Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions