diff options
Diffstat (limited to 'drivers/dahdi/wcte12xp/GpakApi.c')
-rw-r--r-- | drivers/dahdi/wcte12xp/GpakApi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/wcte12xp/GpakApi.c b/drivers/dahdi/wcte12xp/GpakApi.c index bcba139..748cc94 100644 --- a/drivers/dahdi/wcte12xp/GpakApi.c +++ b/drivers/dahdi/wcte12xp/GpakApi.c @@ -1249,7 +1249,7 @@ gpakReadFramingStatsStatus_t gpakReadFramingStats( *pFramingError3Count = ReadBuffer[2]; *pDmaStopErrorCount = ReadBuffer[3]; - if(pDmaSlipStatsBuffer != 0) + if(pDmaSlipStatsBuffer != NULL) // If users want to get the DMA slips count { pDmaSlipStatsBuffer[0] = ReadBuffer[4]; |