mirror of https://github.com/hak5/openwrt.git
laguna: fix eeprom read buffer size during platform configuration
Increase the size of the buffer used for eeprom reads during the platform configuration of the Gateworks laguna. The model name read in is 16 bytes but the original buffer was only 8 bytes. Signed-off-by: David Acker <dacker@rajant.com> SVN-Revision: 32833lede-17.01
parent
2113c65f95
commit
1cbfa0c0f5
|
@ -490,7 +490,7 @@
|
||||||
+
|
+
|
||||||
+static void at24_setup(struct memory_accessor *mem_acc, void *context)
|
+static void at24_setup(struct memory_accessor *mem_acc, void *context)
|
||||||
+{
|
+{
|
||||||
+ char buf[8];
|
+ char buf[16];
|
||||||
+
|
+
|
||||||
+ at24_mem_acc = mem_acc;
|
+ at24_mem_acc = mem_acc;
|
||||||
+
|
+
|
||||||
|
|
Loading…
Reference in New Issue