From: Ivo van Doorn Date: Wed, 9 Apr 2008 18:46:27 +0000 (+0200) Subject: rt2x00: Only free skb when beacon_update fails X-Git-Tag: v2.6.26-rc1~1138^2~9^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=171afcd4ba093b50cd2fb33fe2371fbc1f7fd389;p=pandora-kernel.git rt2x00: Only free skb when beacon_update fails In rt2x00lib_intf_scheduled_iter() we use the hw->beacon_update() callback function. This means that it should behave similarly as mac80211 when that uses the function. This means that the skb should only be freed when beacon_update() has failed, otherwise the driver is the owner and is responsible for freeing the buffer. Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed