1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-06-30 22:29:50 +03:00

[cns3xx] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32833 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic 2012-07-25 08:01:38 +00:00
parent d7e5408129
commit c3e2030356

View File

@ -490,7 +490,7 @@
+
+static void at24_setup(struct memory_accessor *mem_acc, void *context)
+{
+ char buf[8];
+ char buf[16];
+
+ at24_mem_acc = mem_acc;
+