laguna: fix eeprom read buffer size during platform configuration
authorJohn Crispin <john@openwrt.org>
Wed, 25 Jul 2012 08:01:38 +0000 (08:01 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 25 Jul 2012 08:01:38 +0000 (08:01 +0000)
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: 32833

target/linux/cns3xxx/patches-3.3/100-laguna_support.patch

index 0137ae0d80a8225ca07d6947f93f2044677585cb..64b7adb7e022d60644fba41a62c7e7fd28b13491 100644 (file)
 +
 +static void at24_setup(struct memory_accessor *mem_acc, void *context)
 +{
-+      char buf[8];
++      char buf[16];
 +
 +      at24_mem_acc = mem_acc;
 +