From: Jes Sorensen Date: Tue, 15 Apr 2014 17:43:45 +0000 (+0200) Subject: staging: rtl8723au: OnAction23_back23a() Use ieee80211_mgmt and bug fixes X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~1504 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ffdc3f5811cec96b5aebd858e6de249db6bc29a;p=pandora-kernel.git staging: rtl8723au: OnAction23_back23a() Use ieee80211_mgmt and bug fixes This converts OnAction23a_back23a() to using struct ieee80211_mgmt to parse the response packet. In addition this revealed a bug which has been fixed: case WLAN_ACTION_ADDBA_RESP: /* ADDBA response */ status = get_unaligned_le16(&frame_body[3]); tid = ((frame_body[5] >> 2) & 0x7); The above masks the tid to 3 bits, however per ieee80211.h, the tid is in fact 4 bits wide, as defined by IEEE80211_ADDBA_PARAM_TID_MASK (0x3c) Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed