p54: fix oops on faulty devices
authorChristian Lamparter <chunkeey@web.de>
Tue, 9 Dec 2008 20:07:50 +0000 (21:07 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 12 Dec 2008 19:02:15 +0000 (14:02 -0500)
commit59651e89187293e88863891b821c7379391ef75c
tree1551075914e98552269c83c25ef15be30f59c651
parentb7a530d82cb36bb43901c196039b0fccee3ffcc3
p54: fix oops on faulty devices

This patch fixes an oops when the devices suddenly starts
to receive martian data frames.

bug reference:
http://marc.info/?l=linux-wireless&m=122872280317635&w=2

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