Commit 645923e4 authored by Michael Straube's avatar Michael Straube Committed by Greg Kroah-Hartman
Browse files

staging: rtl8188eu: change array type to u8



The the last two parameters of write_cam() have type u8.
Change the type of the passed arrays from unsigned char to u8.
Clears a line over 80 characters checkpatch warning.

Signed-off-by: default avatarMichael Straube <straube.linux@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c1a0bb17
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -454,9 +454,9 @@ void write_cam(struct adapter *padapter, u8 entry, u16 ctrl, u8 *mac, u8 *key)


void clear_cam_entry(struct adapter *padapter, u8 entry)
void clear_cam_entry(struct adapter *padapter, u8 entry)
{
{
	unsigned char null_sta[] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
	u8 null_sta[] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
	unsigned char null_key[] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
	u8 null_key[] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
				    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
			 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};


	write_cam(padapter, entry, 0, null_sta, null_key);
	write_cam(padapter, entry, 0, null_sta, null_key);
}
}