浏览代码

wimax/i2400m: Let device's status reports change the device state

Currently __i2400m_dev_start was forcing, after uploading firmware and
doing a few checks to WIMAX_ST_UNINITIALIZED.

This can be overriding state changes that the device might have caused
by sending reports; thus it makes more sense to remove it and let the
device update the status on its own by sending reports.

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Inaky Perez-Gonzalez 15 年之前
父节点
当前提交
0c96859d7a
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/net/wimax/i2400m/driver.c

+ 0 - 1
drivers/net/wimax/i2400m/driver.c

@@ -398,7 +398,6 @@ retry:
 	result = i2400m_check_mac_addr(i2400m);
 	if (result < 0)
 		goto error_check_mac_addr;
-	wimax_state_change(wimax_dev, WIMAX_ST_UNINITIALIZED);
 	result = i2400m_dev_initialize(i2400m);
 	if (result < 0)
 		goto error_dev_initialize;