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 <[email protected]>

---

Index: trunk/target/linux/cns3xxx/patches-3.1/100-laguna_support.patch
===================================================================
--- trunk/target/linux/cns3xxx/patches-3.1/100-laguna_support.patch     
(revision 28808)
+++ trunk/target/linux/cns3xxx/patches-3.1/100-laguna_support.patch     
(working copy)
@@ -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;
 +
Index: trunk/target/linux/cns3xxx/patches/100-laguna_support.patch
===================================================================
--- trunk/target/linux/cns3xxx/patches/100-laguna_support.patch (revision 28808)
+++ trunk/target/linux/cns3xxx/patches/100-laguna_support.patch (working copy)
@@ -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;
 +
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to