[openEuler-5.10 171/557] mwifiex: Properly initialize private structure on interface type changes