rt2x00: Invert scheduled packet_filter check
authorIvo van Doorn <ivdoorn@gmail.com>
Sat, 29 Mar 2008 14:59:01 +0000 (15:59 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 1 Apr 2008 21:13:20 +0000 (17:13 -0400)
commitbc5213f468b4d0520a06e27ea2cc9724bc5b896c
tree81f89a67d630dd5941db986f1363df068997eaf4
parente5472978ef16051337913f57b2f22982f3e9e4c2
rt2x00: Invert scheduled packet_filter check

Invert the check for scheduling the packet_filter configuration.
When DRIVER_REQUIRE_SCHEDULED is not set we should immediately
configure the the filter.

This fixes the 'infinite calls to rt2x00mc_configure_filter'
bug reported by Bas Hulsken.

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