wl1271: fix notifier interface supported test
authorDan Carpenter <error27@gmail.com>
Sat, 8 May 2010 16:25:51 +0000 (18:25 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 11 May 2010 19:14:20 +0000 (15:14 -0400)
commit8607b79c794a706e6df79d44da261887c5f5def2
tree485d97f9af55713fb9298f7a3092f0d3b50e205f
parentcdd0864a495a4c6a6f60cae854ca962cfa1f1026
wl1271: fix notifier interface supported test

The "(wl == NULL)" test doesn't work here because "wl" is always
non-null.  The intent of the code is to return if the interface
was not supported by the driver.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1271_main.c