blob: 87c11cd6968802812351a2c27dd1c11dba351bfe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/*
* CM_STAT.C - status related code
*/
#include <ndis.h>
#include <ndiswan.h>
#include <mytypes.h>
#include <mydefs.h>
#include <disp.h>
#include <util.h>
#include <opcodes.h>
#include <adapter.h>
#include <idd.h>
#include <mtl.h>
#include <cm.h>
/* get status from cm (note that CM == CM_STATUS for now!) */
INT
cm_get_status(VOID *cm_1, CM_STATUS *stat)
{
CM* cm = (CM*)cm_1;
D_LOG(D_ENTRY, ("cm_get_status: entry, cm: 0x%lx, stat: 0x%lx", cm, stat));
/* set & return */
*stat = *cm;
return(CM_E_SUCC);
}
|