From: Jes Sorensen Date: Fri, 9 May 2014 13:03:31 +0000 (+0200) Subject: staging: rtl8723au: validate_recv_data_frame() use fctl knowledge to obtain bssid X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~990 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa66fbb956d4b464d39176045c2b431da56f358f;p=pandora-kernel.git staging: rtl8723au: validate_recv_data_frame() use fctl knowledge to obtain bssid Use the knowledge we already have from parsing the TODS/FROMDS bits in hdr->frame_control to obtain the bssid. Note that get_hdr_bssid() would never return NULL as handling 4 combinations of a 2 bit word leaves little space for falling through to the 'default' value. Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed