Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204192
b: refs/heads/master
c: 1769f99
h: refs/heads/master
v: v3
  • Loading branch information
Jing Huang authored and James Bottomley committed Jul 27, 2010
1 parent 3ffc2ec commit b6652e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d9883548a0b0afec4786e6c5cd8d03d43a30b779
refs/heads/master: 1769f990fc182695bc215ce4369688064addcd1e
9 changes: 5 additions & 4 deletions trunk/drivers/scsi/bfa/vport.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ bfa_fcs_vport_sm_fdisc(struct bfa_fcs_vport_s *vport,

switch (event) {
case BFA_FCS_VPORT_SM_DELETE:
bfa_sm_set_state(vport, bfa_fcs_vport_sm_logo);
bfa_sm_set_state(vport, bfa_fcs_vport_sm_cleanup);
bfa_lps_discard(vport->lps);
bfa_fcs_vport_do_logo(vport);
bfa_fcs_port_delete(&vport->lport);
break;

case BFA_FCS_VPORT_SM_OFFLINE:
Expand Down Expand Up @@ -357,8 +357,9 @@ bfa_fcs_vport_sm_error(struct bfa_fcs_vport_s *vport,

switch (event) {
case BFA_FCS_VPORT_SM_DELETE:
bfa_sm_set_state(vport, bfa_fcs_vport_sm_uninit);
bfa_fcs_vport_free(vport);
bfa_sm_set_state(vport, bfa_fcs_vport_sm_cleanup);
bfa_fcs_port_delete(&vport->lport);

break;

default:
Expand Down

0 comments on commit b6652e8

Please sign in to comment.