aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorAleksandr Loktionov <aleksandr.loktionov@intel.com>2019-04-24 05:20:55 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-06-14 13:03:39 -0700
commitc1e212bfc32ea8368ef3fa5232203029be507908 (patch)
treec2d3accc5b50904d6a669814b9ed3f6143c51f98 /net/lapb/lapb_iface.c
parent781ee4ae16e5c7482ed2e0027aaaccace4c7a885 (diff)
downloadlinux-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