OSDN Git Service

Fix accidental hardcoding of 2+ extended feature page numbers
authorZach Johnson <zachoverflow@google.com>
Wed, 15 Oct 2014 20:43:26 +0000 (13:43 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Mon, 16 Mar 2015 23:51:36 +0000 (16:51 -0700)
commit48006f8e1288e379aa15686bedc1dc531961df06
treeb37304815cdbf9188479b016f1cbff3d0789c89f
parent5c26224e2cffbd79aa6b2a803eac6f6352129bd7
Fix accidental hardcoding of 2+ extended feature page numbers

Happened to be ok on devices with 1 or 2 feature pages, but for
devices with 3 or more feature pages it was always loading the
page at index 1 for pages past the page at index 0, causing
an infinite loop, causing bluetooth enable to time out.
hci/src/controller.c