~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/infiniband/core/iwcm.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
725
725
         */
726
726
        clear_bit(IWCM_F_CONNECT_WAIT, &cm_id_priv->flags);
727
727
        BUG_ON(cm_id_priv->state != IW_CM_STATE_CONN_SENT);
728
 
        if (iw_event->status == IW_CM_EVENT_STATUS_ACCEPTED) {
 
728
        if (iw_event->status == 0) {
729
729
                cm_id_priv->id.local_addr = iw_event->local_addr;
730
730
                cm_id_priv->id.remote_addr = iw_event->remote_addr;
731
731
                cm_id_priv->state = IW_CM_STATE_ESTABLISHED;