1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 06:43:43 +02:00

[brcm63xx] revert r21085, fixes #7282

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21352 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2010-05-04 08:07:39 +00:00
parent 7e7db3e39c
commit 66eb282e92
2 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
+ return -ENOMEM;
+
+ /* Get the tag */
+ ret = master->read(master,0x10000,sizeof(struct bcm_tag), &retlen, (void *)buf);
+ ret = master->read(master,master->erasesize,sizeof(struct bcm_tag), &retlen, (void *)buf);
+ if (retlen != sizeof(struct bcm_tag)){
+ vfree(buf);
+ return -EIO;

View File

@ -140,7 +140,7 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
+ return -ENOMEM;
+
+ /* Get the tag */
+ ret = master->read(master,0x10000,sizeof(struct bcm_tag), &retlen, (void *)buf);
+ ret = master->read(master,mater->erasesize,sizeof(struct bcm_tag), &retlen, (void *)buf);
+ if (retlen != sizeof(struct bcm_tag)){
+ vfree(buf);
+ return -EIO;