[IBAL] Change CEP DREP API
[mirror/winof/.git] / core / al / kernel / al_cm_cep.c
index 6962bd7..d5cc4e2 100644 (file)
@@ -3393,6 +3393,7 @@ __complete_ndi_irp(
        ib_put_mad( p_mad );\r
 }\r
 \r
+\r
 /* Called with the CEP and CEP manager locks held */\r
 static ib_api_status_t\r
 __cep_queue_mad(\r
@@ -5827,7 +5828,8 @@ ib_api_status_t
 al_cep_drep(\r
        IN                              ib_al_handle_t                          h_al,\r
        IN                              net32_t                                         cid,\r
-       IN              const   ib_cm_drep_t* const                     p_cm_drep )\r
+       IN              const   uint8_t* const                          p_pdata OPTIONAL,\r
+       IN              const   uint8_t                                         pdata_len )\r
 {\r
        ib_api_status_t         status;\r
        kcep_t                          *p_cep;\r
@@ -5855,8 +5857,8 @@ al_cep_drep(
                if( status != IB_SUCCESS )\r
                        break;\r
 \r
-               status = __format_drep( p_cep, p_cm_drep->p_drep_pdata,\r
-                       p_cm_drep->drep_length, (mad_cm_drep_t*)p_mad->p_mad_buf );\r
+               status = __format_drep( p_cep, p_pdata,\r
+                       pdata_len, (mad_cm_drep_t*)p_mad->p_mad_buf );\r
                if( status != IB_SUCCESS )\r
                        break;\r
 \r