mirror of https://gitee.com/openkylin/linux.git
rt2x00:Add debug message for new chipset
Signed-off-by: John Li <chen-yang.li@mediatek.com> Acked-by: Helmut Schaa <helmut.schaa@googlemail.com> Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> Acked-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
6adaea3062
commit
b6df7f1d3b
|
@ -4053,7 +4053,7 @@ int rt2800_init_eeprom(struct rt2x00_dev *rt2x00dev)
|
|||
case RT5390:
|
||||
break;
|
||||
default:
|
||||
ERROR(rt2x00dev, "Invalid RT chipset detected.\n");
|
||||
ERROR(rt2x00dev, "Invalid RT chipset 0x%04x detected.\n", rt2x00dev->chip.rt);
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
|
@ -4072,7 +4072,7 @@ int rt2800_init_eeprom(struct rt2x00_dev *rt2x00dev)
|
|||
case RF5390:
|
||||
break;
|
||||
default:
|
||||
ERROR(rt2x00dev, "Invalid RF chipset 0x%x detected.\n",
|
||||
ERROR(rt2x00dev, "Invalid RF chipset 0x%04x detected.\n",
|
||||
rt2x00dev->chip.rf);
|
||||
return -ENODEV;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue