target/fw/layer1: correctly initialize afc_retries
authorSteve Markgraf <steve@steve-m.de>
Mon, 25 Oct 2010 16:05:04 +0000 (18:05 +0200)
committerSylvain Munaut <tnt@246tNt.com>
Mon, 25 Oct 2010 18:59:24 +0000 (20:59 +0200)
commit18dba362c06f9d7cae3068cd3b1ba6b6b2a7ed56
tree1e2c4b0c425ac54e12abd11238f342e71e68fd5d
parent8c9b8f446f466d8e78acdd374784cd7621d36fd4
target/fw/layer1: correctly initialize afc_retries

Otherwise, when it reached AFC_RETRY_COUNT, no new FB0 tasks
were scheduled, and you needed to restart the phone in order to
successfully sync to a cell

Signed-off-by: Steve Markgraf <steve@steve-m.de>
src/target/firmware/layer1/prim_fbsb.c