rt2x00: Use lib->config_filter() during scheduled packet filter config
authorIvo van Doorn <ivdoorn@gmail.com>
Thu, 3 Apr 2008 22:01:43 +0000 (00:01 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Apr 2008 20:44:42 +0000 (16:44 -0400)
commit133adf08266740cd886d544aa9fe80b9873cf699
treec84359c4de1d8ad33caeac67de58dd817e5dfc31
parent253898c4170c7f426d1bc32860fee04f27de3ade
rt2x00: Use lib->config_filter() during scheduled packet filter config

Now rt2x00lib handles the initial configure_filter() command, we can
directly call lib->config_filter() in scheduled context since the
called function will no longer check if anything has changed (which is
now handled in rt2x00lib as well).

This fixes a endless loop with USB drivers where the config_filter
command was scheduled time and time again without sending any command
to the device.

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