mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 03:30:37 +02:00
bcm63xx: fix second caldata address calculation
thanks Noltari for spotting this. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32592 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
cc1b8fb1cb
commit
c60cd5dd54
@ -33,7 +33,7 @@ contained in flash.
|
||||
+ }
|
||||
+ if (data->caldata[1]) {
|
||||
+ caldatalen2 = cfe_erasesize;
|
||||
+ caldataaddr1 = rounddown(data->caldata[1],
|
||||
+ caldataaddr2 = rounddown(data->caldata[1],
|
||||
+ cfe_erasesize);
|
||||
+ }
|
||||
+ if (caldataaddr1 == caldataaddr2) {
|
||||
|
Loading…
Reference in New Issue
Block a user