ath10k: allow empty ssid vdev config
It doesn't make much sense to reject a valid firmware configuration combination. Since SSID isn't known early on it might make sense to allow driver to start vdev without SSID and restart it later. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
parent
d600a6d754
commit
0a27347efd
|
@ -1518,8 +1518,6 @@ ath10k_wmi_tlv_op_gen_vdev_start(struct ath10k *ar,
|
|||
void *ptr;
|
||||
u32 flags = 0;
|
||||
|
||||
if (WARN_ON(arg->ssid && arg->ssid_len == 0))
|
||||
return ERR_PTR(-EINVAL);
|
||||
if (WARN_ON(arg->hidden_ssid && !arg->ssid))
|
||||
return ERR_PTR(-EINVAL);
|
||||
if (WARN_ON(arg->ssid_len > sizeof(cmd->ssid.ssid)))
|
||||
|
|
|
@ -4248,8 +4248,6 @@ ath10k_wmi_op_gen_vdev_start(struct ath10k *ar,
|
|||
const char *cmdname;
|
||||
u32 flags = 0;
|
||||
|
||||
if (WARN_ON(arg->ssid && arg->ssid_len == 0))
|
||||
return ERR_PTR(-EINVAL);
|
||||
if (WARN_ON(arg->hidden_ssid && !arg->ssid))
|
||||
return ERR_PTR(-EINVAL);
|
||||
if (WARN_ON(arg->ssid_len > sizeof(cmd->ssid.ssid)))
|
||||
|
|
Loading…
Reference in New Issue