1. 07 11月, 2014 1 次提交
    • K
      Bluetooth: Clear role switch pending flag · 50fc85f1
      Kuba Pawlak 提交于
      If role switch was rejected by the controller and HCI Event: Command Status
      returned with status "Command Disallowed" (0x0C) the flag
      HCI_CONN_RSWITCH_PEND remains set. No further role switches are
      possible as this flag prevents us from sending any new HCI Switch Role
      requests and the only way to clear it is to receive a valid
      HCI Event Switch Role.
      
      This patch clears the flag if command was rejected.
      
      2013-01-01 00:03:44.209913 < HCI Command: Switch Role (0x02|0x000b) plen 7
          bdaddr BC:C6:DB:C4:6F:79 role 0x00
          Role: Master
      2013-01-01 00:03:44.210867 > HCI Event: Command Status (0x0f) plen 4
          Switch Role (0x02|0x000b) status 0x0c ncmd 1
          Error: Command Disallowed
      Signed-off-by: NKuba Pawlak <kubax.t.pawlak@intel.com>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      50fc85f1
  2. 06 11月, 2014 19 次提交
  3. 05 11月, 2014 2 次提交
  4. 04 11月, 2014 2 次提交
  5. 03 11月, 2014 12 次提交
  6. 02 11月, 2014 4 次提交