1. 13 3月, 2015 1 次提交
  2. 12 3月, 2015 1 次提交
  3. 11 3月, 2015 5 次提交
  4. 08 3月, 2015 1 次提交
    • A
      Bluetooth: fix sco_exit compile warning · 0402d9f2
      Alexander Aring 提交于
      While compiling the following warning occurs:
      
      WARNING: net/built-in.o(.init.text+0x602c): Section mismatch in
      reference from the function bt_init() to the function
      .exit.text:sco_exit()
      The function __init bt_init() references
      a function __exit sco_exit().
      This is often seen when error handling in the init function
      uses functionality in the exit path.
      The fix is often to remove the __exit annotation of
      sco_exit() so it may be used outside an exit section.
      
      Since commit 6d785aa3 ("Bluetooth:
      Convert mgmt to use HCI chan registration API") the function "sco_exit"
      is used inside of function "bt_init". The suggested solution by remove
      the __exit annotation solved this issue.
      Signed-off-by: NAlexander Aring <alex.aring@gmail.com>
      Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
      0402d9f2
  5. 07 3月, 2015 8 次提交
  6. 05 3月, 2015 3 次提交
  7. 03 3月, 2015 1 次提交
  8. 02 3月, 2015 3 次提交
  9. 28 2月, 2015 2 次提交
    • J
      Bluetooth: make hci_test_bit's addr const · 9391976a
      Jiri Slaby 提交于
      gcc5 warns about passing a const array to hci_test_bit which takes a
      non-const pointer:
      net/bluetooth/hci_sock.c: In function ‘hci_sock_sendmsg’:
      net/bluetooth/hci_sock.c:955:8: warning: passing argument 2 of ‘hci_test_bit’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-array-qualifiers]
              &hci_sec_filter.ocf_mask[ogf])) &&
              ^
      net/bluetooth/hci_sock.c:49:19: note: expected ‘void *’ but argument is of type ‘const __u32 (*)[4] {aka const unsigned int (*)[4]}’
       static inline int hci_test_bit(int nr, void *addr)
                         ^
      
      So make 'addr' 'const void *'.
      Signed-off-by: NJiri Slaby <jslaby@suse.cz>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      Cc: Gustavo Padovan <gustavo@padovan.org>
      Cc: Johan Hedberg <johan.hedberg@gmail.com>
      9391976a
    • J
      Bluetooth: Update New CSRK event to match latest specification · 4cd3928a
      Johan Hedberg 提交于
      The 'master' parameter of the New CSRK event was recently renamed to
      'type', with the old values kept for backwards compatibility as
      unauthenticated local/remote keys. This patch updates the code to take
      into account the two new (authenticated) values and ensures they get
      used based on the security level of the connection that the respective
      keys get distributed over.
      Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      4cd3928a
  10. 21 2月, 2015 3 次提交
  11. 20 2月, 2015 2 次提交
  12. 19 2月, 2015 5 次提交
  13. 18 2月, 2015 1 次提交
  14. 16 2月, 2015 2 次提交
  15. 15 2月, 2015 2 次提交