rt2x00: Start bugging when rt2x00lib doesn't filter SW diversity
authorIvo van Doorn <ivdoorn@gmail.com>
Sun, 9 Mar 2008 21:45:21 +0000 (22:45 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 13 Mar 2008 20:02:36 +0000 (16:02 -0400)
commita4fe07d913096f4573512c9369f8ca824fbc2d8f
tree9d47ba6a24083e84527075e12a41263a3f77ec74
parenta7f3a06cbb63a16ad7a1720506591d8d12a03029
rt2x00: Start bugging when rt2x00lib doesn't filter SW diversity

rt2x00lib should filter SW diversity out before sending any configuration
changes to the driver. When rt2x00lib fails to do this, it is important
that such events are reported because it _must_ be fixed.
So upgrading the error level to a BUG_ON() which will make sure
this bug gets noticed whenever it happens.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2400pci.c
drivers/net/wireless/rt2x00/rt2500pci.c
drivers/net/wireless/rt2x00/rt2500usb.c
drivers/net/wireless/rt2x00/rt61pci.c
drivers/net/wireless/rt2x00/rt73usb.c