net/ena: store handle after memory allocation