aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wimax/i2400m/control.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wimax/i2400m/control.c')
-rw-r--r--drivers/net/wimax/i2400m/control.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wimax/i2400m/control.c b/drivers/net/wimax/i2400m/control.c
index c3968b240d69..4073c3e93bd4 100644
--- a/drivers/net/wimax/i2400m/control.c
+++ b/drivers/net/wimax/i2400m/control.c
@@ -1311,6 +1311,7 @@ int i2400m_dev_initialize(struct i2400m *i2400m)
1311 struct device *dev = i2400m_dev(i2400m); 1311 struct device *dev = i2400m_dev(i2400m);
1312 struct i2400m_tlv_config_idle_parameters idle_params; 1312 struct i2400m_tlv_config_idle_parameters idle_params;
1313 struct i2400m_tlv_config_idle_timeout idle_timeout; 1313 struct i2400m_tlv_config_idle_timeout idle_timeout;
1314 struct i2400m_tlv_config_d2h_data_format df;
1314 const struct i2400m_tlv_hdr *args[9]; 1315 const struct i2400m_tlv_hdr *args[9];
1315 unsigned argc = 0; 1316 unsigned argc = 0;
1316 1317
@@ -1333,6 +1334,14 @@ int i2400m_dev_initialize(struct i2400m *i2400m)
1333 args[argc++] = &idle_timeout.hdr; 1334 args[argc++] = &idle_timeout.hdr;
1334 } 1335 }
1335 } 1336 }
1337 if (i2400m_ge_v1_4(i2400m)) {
1338 df.hdr.type =
1339 cpu_to_le16(I2400M_TLV_CONFIG_D2H_DATA_FORMAT);
1340 df.hdr.length = cpu_to_le16(
1341 sizeof(df) - sizeof(df.hdr));
1342 df.format = 1;
1343 args[argc++] = &df.hdr;
1344 }
1336 result = i2400m_set_init_config(i2400m, args, argc); 1345 result = i2400m_set_init_config(i2400m, args, argc);
1337 if (result < 0) 1346 if (result < 0)
1338 goto error; 1347 goto error;