From: Rahul Lakkireddy <rahul.lakkire...@chelsio.com> Date: Sat, 1 Aug 2020 02:20:52 +0530
> The flag indicating the selftest to run is a bitmask. So, fix the > check. Also, the selftests will fail if adapter initialization has > not been completed yet. So, add appropriate check and bail sooner. > > Fixes: 7235ffae3d2c ("cxgb4: add loopback ethtool self-test") > Signed-off-by: Rahul Lakkireddy <rahul.lakkire...@chelsio.com> Applied.