From: Ivo van Doorn Date: Fri, 6 Aug 2010 18:49:27 +0000 (+0200) Subject: rt2x00: Remove ieee80211_rx_status from rt2x00_dev X-Git-Tag: v2.6.37-rc1~147^2~679^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5ef5bad345f97f1fef7ccdc01a88c298629a5d9;p=pandora-kernel.git rt2x00: Remove ieee80211_rx_status from rt2x00_dev rt2x00 was keeping a copy of ieee80211_rx_status embedded into the rt2x00_dev structure. For each RX frame, this structure was copied into the skb->cb where mac80211 would handle it further. However at the moment only the fields current band, and frequency were updated. Whereas the band was already provided directly within the rt2x00_dev structure. Save a memcpy action, and reduce memory a bit, by adding a curr_freq field to rt2x00_dev, and completely remove the ieee80211_rx_status structure from rt2x00_dev. Signed-off-by: Ivo van Doorn Acked-by: Gertjan van Wingerde Signed-off-by: John W. Linville --- Reading git-diff-tree failed