> The function mt7996_set_monitor() dereferences phy before > the NULL sanity check. > > Fix this to avoid NULL pointer dereference by moving the > dereference after the check. Were any known source code analysis tools involved for this software improvement? Regards, Markus