mirror of https://gitee.com/openkylin/linux.git
9c6dda4e2d
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 <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> |
||
---|---|---|
.. | ||
ar9170 | ||
ath5k | ||
ath9k | ||
Kconfig | ||
Makefile | ||
ath.h | ||
debug.c | ||
debug.h | ||
hw.c | ||
main.c | ||
reg.h | ||
regd.c | ||
regd.h | ||
regd_common.h |