Skip to content

Commit

Permalink
isci: enable BCN in sci_port_add_phy()
Browse files Browse the repository at this point in the history
Ensure we enable receiving BCN's from the
hardware when adding phy to isci_port.
Otherwise if we get BCN before the port is
created we won't see any BCN

Signed-off-by: Maciej Trela <maciej.trela@intel.com>
Reported-by: Richard Boyd <richard.g.boyd@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
  • Loading branch information
Maciej Trela authored and Dan Williams committed May 17, 2012
1 parent 6119908 commit 08e73be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/scsi/isci/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -1199,6 +1199,8 @@ enum sci_status sci_port_add_phy(struct isci_port *iport,
enum sci_status status;
enum sci_port_states state;

sci_port_bcn_enable(iport);

state = iport->sm.current_state_id;
switch (state) {
case SCI_PORT_STOPPED: {
Expand Down

0 comments on commit 08e73be

Please sign in to comment.