diff options
| author | Luciano Coelho <[email protected]> | 2013-11-19 14:05:56 +0000 |
|---|---|---|
| committer | Emmanuel Grumbach <[email protected]> | 2013-11-25 21:00:21 +0000 |
| commit | 3c5da7eefce5835acfc73ebd0a4f961cdae4ae67 (patch) | |
| tree | 1a878a602824f3b58cdda3ea4ddaa13d5875b3a4 /net/unix/af_unix.c | |
| parent | iwlwifi: mvm: set seqno also when no keys are set (diff) | |
| download | kernel-3c5da7eefce5835acfc73ebd0a4f961cdae4ae67.tar.gz kernel-3c5da7eefce5835acfc73ebd0a4f961cdae4ae67.zip | |
iwlwifi: mvm: use a cast to calculate the last seqno from the next one
If the next seqno returned by the firmware is 0, we return an error
(-16) in the iwl_mvm_get_last_nonqos_seq() function. This is because
we return an integer and don't use any casting when calculating the
last seqno from the one we received. Fix this by using a cast to u16
when doing the calculation, so we return 0xfff0, as we should.
Signed-off-by: Luciano Coelho <[email protected]>
Signed-off-by: Emmanuel Grumbach <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
