NDIS - computer crushes(restarts) on enable/disable network

Hello,

I am working on a NDIS filter driver. I’m stuck: my computer crushes when I am disabling/enabling the network. For the moment I am not handling IRP_MJ_PNP… is this the problem? should I ever worry about this mj function?

Thank you,
Andrei Ciubotaru