mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
staging: wilc1000: fix line over 80 char in wilc_add_ptk()
Fix 'line over 80 characters' issue found by checkpatch.pl script. Signed-off-by: Ajay Singh <ajay.kathat@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8007f00092
commit
83ff39d99b
1 changed files with 4 additions and 2 deletions
|
|
@ -2858,10 +2858,12 @@ int wilc_add_ptk(struct wilc_vif *vif, const u8 *ptk, u8 ptk_key_len,
|
|||
return -ENOMEM;
|
||||
|
||||
if (rx_mic)
|
||||
memcpy(msg.body.key_info.attr.wpa.key + 16, rx_mic, RX_MIC_KEY_LEN);
|
||||
memcpy(msg.body.key_info.attr.wpa.key + 16, rx_mic,
|
||||
RX_MIC_KEY_LEN);
|
||||
|
||||
if (tx_mic)
|
||||
memcpy(msg.body.key_info.attr.wpa.key + 24, tx_mic, TX_MIC_KEY_LEN);
|
||||
memcpy(msg.body.key_info.attr.wpa.key + 24, tx_mic,
|
||||
TX_MIC_KEY_LEN);
|
||||
|
||||
msg.body.key_info.attr.wpa.key_len = key_len;
|
||||
msg.body.key_info.attr.wpa.mac_addr = mac_addr;
|
||||
|
|
|
|||
Loading…
Reference in a new issue