]> git.karo-electronics.de Git - linux-beck.git/commitdiff
isci: enable BCN in sci_port_add_phy()
authorMaciej Trela <maciej.trela@intel.com>
Mon, 12 Mar 2012 23:29:30 +0000 (23:29 +0000)
committerDan Williams <dan.j.williams@intel.com>
Thu, 17 May 2012 19:27:28 +0000 (12:27 -0700)
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>
drivers/scsi/isci/port.c

index 6ef4bd910f33d9bb0a84b73a2a7e699947b5bf79..0a3aec118097993c050df0239cb2f1db44c240a7 100644 (file)
@@ -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: {