ath6kl: Change ielen in ath6kl_add_new_sta() from u8 to size_t
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Tue, 3 Jan 2012 09:58:53 +0000 (15:28 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 9 Jan 2012 10:46:13 +0000 (12:46 +0200)
commit982767b8c94482b4b7f694e2ab2074c95fbf3e0e
treefd28b215d4f48477fdb18aca402942d07a8064c6
parent3d6aba260bcd5a5f9d47056cac2e313ce986ad12
ath6kl: Change ielen in ath6kl_add_new_sta() from u8 to size_t

Otherwise if (ielen <= ATH6KL_MAX_IE) is dead code. It looks safe to
change the type of ielen from u8 to size_t instead of removing this
if check, this ielen can have the length of more than one ies in future.

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/main.c