carl9170: fix hang in AP mode when HT STA does PSM
authorChristian Lamparter <chunkeey@googlemail.com>
Fri, 17 Sep 2010 22:15:13 +0000 (00:15 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 21 Sep 2010 15:05:26 +0000 (11:05 -0400)
commit2c7808d9345b91bb19f6bfaebf7b9e0916b0859a
tree623d614f7320b5164f64aba758a02dd2e40d02c8
parent735761108f435a30bbabb5254fc5a8e17b99f2a1
carl9170: fix hang in AP mode when HT STA does PSM

This is a obvious bug, skb_queue_walk does not
work if the iterator gets removed from the queue.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/carl9170/main.c