p54: fix WARN_ON at line 2247 of net/mac80211/rx.c
authorChristian Lamparter <chunkeey@web.de>
Fri, 26 Dec 2008 18:09:45 +0000 (19:09 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Jan 2009 19:24:56 +0000 (14:24 -0500)
commit124b68e755c2ef9342d5d477142c499fd7901360
tree7058fccf7eb92efdb790c9731898125954fa0837
parentdcebf45cdc8384be9009b2b9a825054b64742768
p54: fix WARN_ON at line 2247 of net/mac80211/rx.c

This patch hopefully fixes a mac80211<->p54 interaction problem, which was
described by Larry Finger (ref: http://marc.info/?l=linux-wireless&m=123009889327707 )

I guess the warning was triggered by pending frames in the receive queue,
while we're doing a band change 5GHz.

Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54common.c