aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/cns3xxx
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-07-25 08:01:38 +0000
committerJohn Crispin <blogic@openwrt.org>2012-07-25 08:01:38 +0000
commitf3f9d768faeaaa957df3cd471381c9ced9b278f6 (patch)
tree01033874259baaa56a28cc9bbe1b643676fa990c /target/linux/cns3xxx
parent38dbac6005ccb9c594846c6f9e397fae2a144fa1 (diff)
downloadupstream-f3f9d768faeaaa957df3cd471381c9ced9b278f6.tar.gz
upstream-f3f9d768faeaaa957df3cd471381c9ced9b278f6.tar.bz2
upstream-f3f9d768faeaaa957df3cd471381c9ced9b278f6.zip
[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
Diffstat (limited to 'target/linux/cns3xxx')
-rw-r--r--target/linux/cns3xxx/patches-3.3/100-laguna_support.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/cns3xxx/patches-3.3/100-laguna_support.patch b/target/linux/cns3xxx/patches-3.3/100-laguna_support.patch
index 0137ae0d80..64b7adb7e0 100644
--- a/target/linux/cns3xxx/patches-3.3/100-laguna_support.patch
+++ b/target/linux/cns3xxx/patches-3.3/100-laguna_support.patch
@@ -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;
+