HE: Remove incorrect flow id attribute in TWT suspend command
TWT suspend command expects the flow id attribute from enum
qca_wlan_vendor_attr_twt_setup and that attribute is optional for TWT
suspend. Hence remove the incorrect flow id attribute used from
enum qca_wlan_vendor_attr_twt_nudge in TWT suspend command.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
diff --git a/sta.c b/sta.c
index d14b3de..ad753cc 100644
--- a/sta.c
+++ b/sta.c
@@ -8627,8 +8627,7 @@
nla_put_u8(msg, QCA_WLAN_VENDOR_ATTR_CONFIG_TWT_OPERATION,
QCA_WLAN_TWT_SUSPEND) ||
!(attr1 = nla_nest_start(msg,
- QCA_WLAN_VENDOR_ATTR_CONFIG_TWT_PARAMS)) ||
- nla_put_u8(msg, QCA_WLAN_VENDOR_ATTR_TWT_NUDGE_FLOW_ID, 0)) {
+ QCA_WLAN_VENDOR_ATTR_CONFIG_TWT_PARAMS))) {
sigma_dut_print(dut, DUT_MSG_ERROR,
"%s: err in adding vendor_cmd and vendor_data",
__func__);