Searched hist:"9 c6dda4e2dfea970a7105e3805f0195bc3079f2f" (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_beacon.c | diff 9c6dda4e2dfea970a7105e3805f0195bc3079f2f Thu May 06 04:15:47 CDT 2010 Sujith <Sujith.Manoharan@atheros.com> 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 <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
H A D | htc.h | diff 9c6dda4e2dfea970a7105e3805f0195bc3079f2f Thu May 06 04:15:47 CDT 2010 Sujith <Sujith.Manoharan@atheros.com> 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 <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
H A D | htc_drv_init.c | diff 9c6dda4e2dfea970a7105e3805f0195bc3079f2f Thu May 06 04:15:47 CDT 2010 Sujith <Sujith.Manoharan@atheros.com> 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 <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
H A D | htc_drv_main.c | diff 9c6dda4e2dfea970a7105e3805f0195bc3079f2f Thu May 06 04:15:47 CDT 2010 Sujith <Sujith.Manoharan@atheros.com> 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 <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
|