Hardware Reset
An 802.11 miniport driver must do the following before returning from its MiniportResetfunction:
The driver must restore its encryption and authentication modes to the state they were in before the MiniportReset function was called.
The driver must restore any WEP keys saved in permanent storage.
The driver must remove and not restore any keys set through OID_802_11_ADD_WEP or OID_802_11_ADD_KEY.
If the device was associated before the call to MiniportReset, then the driver must do the following before completing the reset:
If media streaming was enabled, then the driver must disable media streaming and make a media streaming indication.
If the device maintains the association through the reset, then the driver must make a media connect indication before it completes the reset.
If the device becomes disassociated as a result of the hardware reset, then the driver must try to reassociate before it completes the reset. After the reassociation is complete, the driver must make a media connect indication. If the reassociation fails, then the driver must make a media disconnect indication following the rules described in Media Status Indications for 802.11 Networks.