If it works fine, then it works. There are multiple reasons why what you did is not a good idea.
If I read it correctly, you have two sticks of RAM in a laptop. One is 4GB and one 8GB. First, most people here will tell you not to mix RAM, but only to use matched pairs. This is because you tend to get a lot of incompatibility with modern RAM sticks, even unmatched sets of the same speed from the same manufacturer.
Second, by mixing sticks of different sizes you are probably going to single-channel mode. Dual-channel mode memory is faster, so you have slowed the machine down.
Of course, if the machine __originally__ had 1 stick of 4GB memory it was running in single-channel mode anyway. So all you have done is added more memory...