diff options
author | Roland Dreier <roland@purestorage.com> | 2012-02-23 17:22:12 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-02 09:27:12 -0700 |
commit | 91e4c264a6f7b2de2fa5d996db9297e99bfb1006 (patch) | |
tree | 36505fe312a97108b995182761fe2dc241329fac /drivers/bluetooth | |
parent | 2a540015f107ec0b073725ab7575bd7990e094d9 (diff) | |
download | lwn-91e4c264a6f7b2de2fa5d996db9297e99bfb1006.tar.gz lwn-91e4c264a6f7b2de2fa5d996db9297e99bfb1006.zip |
target: Fix 16-bit target ports for SET TARGET PORT GROUPS emulation
commit 33395fb8a13731c7ef7b175dbf5a4d8a6738fe6c upstream.
The old code did (MSB << 8) & 0xff, which always evaluates to 0. Just use
get_unaligned_be16() so we don't have to worry about whether our open-coded
version is correct or not.
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/bluetooth')
0 files changed, 0 insertions, 0 deletions