From: Johannes Berg Date: Wed, 12 Dec 2007 15:31:52 +0000 (+0100) Subject: mac80211: fix header ops X-Git-Tag: v2.6.24-rc7~54^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3333590e94262aebb5d0fb767cc7ed8b2359705c;p=pandora-kernel.git mac80211: fix header ops When using recvfrom() on a SOCK_DGRAM packet socket, I noticed that the MAC address passed back for wireless frames was always completely wrong. The reason for this is that the header parse function assigned to our virtual interfaces is a function parsing an 802.11 rather than 802.3 header. This patch fixes it by keeping the default ethernet header operations assigned. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed