Merge remote-tracking branch 'stable/linux-4.19.y' into rpi-4.19.y
authorpopcornmix <popcornmix@gmail.com>
Mon, 24 Jun 2019 11:58:20 +0000 (12:58 +0100)
committerpopcornmix <popcornmix@gmail.com>
Mon, 24 Jun 2019 11:58:20 +0000 (12:58 +0100)
1  2 
drivers/gpio/Kconfig
drivers/nvmem/core.c
drivers/pwm/sysfs.c
drivers/rtc/rtc-pcf8523.c
drivers/staging/vc04_services/bcm2835-camera/controls.c
mm/page_alloc.c
net/bluetooth/hci_conn.c
sound/soc/codecs/cs42xx8.c

Simple merge
Simple merge
Simple merge
Simple merge
diff --cc mm/page_alloc.c
Simple merge
@@@ -1272,23 -1272,10 +1272,15 @@@ int hci_conn_check_link_mode(struct hci
                        return 0;
        }
  
 -      if (hci_conn_ssp_enabled(conn) &&
 -          !test_bit(HCI_CONN_ENCRYPT, &conn->flags))
 +      /* If Secure Simple Pairing is not enabled, then legacy connection
 +       * setup is used and no encryption or key sizes can be enforced.
 +       */
 +      if (!hci_conn_ssp_enabled(conn))
 +              return 1;
 +
 +      if (!test_bit(HCI_CONN_ENCRYPT, &conn->flags))
                return 0;
  
-       /* The minimum encryption key size needs to be enforced by the
-        * host stack before establishing any L2CAP connections. The
-        * specification in theory allows a minimum of 1, but to align
-        * BR/EDR and LE transports, a minimum of 7 is chosen.
-        */
-       if (conn->enc_key_size < HCI_MIN_ENC_KEY_SIZE)
-               return 0;
        return 1;
  }
  
Simple merge