1. 03 3月, 2015 1 次提交
  2. 02 3月, 2015 3 次提交
  3. 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
  4. 21 2月, 2015 3 次提交
  5. 20 2月, 2015 2 次提交
  6. 19 2月, 2015 5 次提交
  7. 18 2月, 2015 1 次提交
  8. 16 2月, 2015 2 次提交
  9. 15 2月, 2015 6 次提交
  10. 14 2月, 2015 3 次提交
  11. 03 2月, 2015 2 次提交
  12. 02 2月, 2015 2 次提交
  13. 01 2月, 2015 8 次提交