wil6210: fw debug mode
refactor module parameter debug_fw to act as "fw debug mode", where driver do nothing but allow card memory access. Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:

committed by
Kalle Valo

parent
73b25f66dc
commit
bfc2dc7a69
@@ -24,6 +24,11 @@ static int wil_open(struct net_device *ndev)
|
||||
|
||||
wil_dbg_misc(wil, "%s()\n", __func__);
|
||||
|
||||
if (debug_fw) {
|
||||
wil_err(wil, "%s() while in debug_fw mode\n", __func__);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
return wil_up(wil);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user