From: Sujith Date: Thu, 6 May 2010 09:15:47 +0000 (+0530) Subject: ath9k_htc: Fix beaconing in IBSS mode X-Git-Tag: v2.6.35-rc1~473^2~167^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c6dda4e2dfea970a7105e3805f0195bc3079f2f;p=pandora-kernel.git ath9k_htc: Fix beaconing in IBSS mode The current way of managing beaconing in ad-hoc mode has a subtle race - the beacon obtained from mac80211 is freed in the SWBA handler rather than the TX completion routine. But transmission of beacons goes through the normal SKB queue maintained in hif_usb, leading to a situation where __skb_dequeue() in the TX completion handler goes kaput. Fix this by simply getting a beacon from mac80211 for every SWBA and free it in its completion routine. Signed-off-by: Sujith Signed-off-by: John W. Linville --- Reading git-diff-tree failed