mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-03 01:36:52 +09: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:
committed by
Greg Kroah-Hartman
parent
8007f00092
commit
83ff39d99b
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user