From: Taehee Yoo Date: Fri, 27 Mar 2015 15:22:39 +0000 (+0900) Subject: rtlwifi: Add encryption argument in rtl_is_special_data for checking DHCP packet. X-Git-Tag: omap-for-v4.1/fixes-rc1~141^2~39^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cad737dfde3566e3293e884e8b391e2cae7e8068;p=pandora-kernel.git rtlwifi: Add encryption argument in rtl_is_special_data for checking DHCP packet. rtl8192cu can't connect to AP after physical reconnect. according to dmesg, that problem's cause was DHCP timeout. rtl_is_special_data function checks packet type for adjusting rate. when that function is called from _rtl_rc_get_highest_rix, it can not calculate offset correctly. so i add argument is_encn in rtl_is_special_data. is_enc variable mean that iv header is added in skb parameter. i test only rtl8192cu chipset. because i doesn't have other rtlwifi chipsets. Signed-off-by: Taehee Yoo Signed-off-by: Kalle Valo --- Reading git-diff-tree failed