From 08e73be56b6b2e5459638481a54b755ed562ada8 Mon Sep 17 00:00:00 2001 From: Maciej Trela Date: Mon, 12 Mar 2012 23:29:30 +0000 Subject: [PATCH] isci: enable BCN in sci_port_add_phy() 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 Reported-by: Richard Boyd Signed-off-by: Dan Williams --- drivers/scsi/isci/port.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/scsi/isci/port.c b/drivers/scsi/isci/port.c index 6ef4bd910f33..0a3aec118097 100644 --- a/drivers/scsi/isci/port.c +++ b/drivers/scsi/isci/port.c @@ -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: { -- 2.39.5