From: Jes Sorensen Date: Tue, 15 Apr 2014 17:44:32 +0000 (+0200) Subject: staging: rtl8723au: OnAuth23aClient23a(): Clean up using struct ieee80211_mgmt X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~1457 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=580e756c603772a9a6732709da4389014d423132;p=pandora-kernel.git staging: rtl8723au: OnAuth23aClient23a(): Clean up using struct ieee80211_mgmt Use 80211_mgmt to determine offsets within the received frame. This also removes a suspicious offset adjustment: offset = ieee80211_has_protected(hdr->frame_control) ? 4: 0; which didn't make any sense, since it was only applied to determining the auth, sequence number, and status, but wasn't applied to the location of the IEs. Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed