kernel-fxtec-pro1x/drivers/net/wireless/wl12xx
Luciano Coelho 17d7265c75 wl1271: fix the inetdev notifier callback return values
The wl1271_dev_notify() was returning 0 or -ENODEV, when it should return
NOTIFY_* instead.  Now we use NOTIFY_DONE when we didn't handle the event or
NOTIFY_OK when we have handled it.

For inetdev notifications, it doesn't matter whether we use NOTIFY_DONE or
NOTIFY_OK, because it ignores the return value of the call to
blocking_notifier_call_chain().  But the notify.h header says that
NOTIFY_DONE is "Don't care" and NOTIFY_OK is "Suits me", so that seems to be
the right way to do it.

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-11-28 15:04:29 -05:00
..
Kconfig wl1271: depend on INET 2009-11-04 18:44:42 -05:00
Makefile
wl12xx_80211.h
wl1251.h wl1251: add NVS in EEPROM support 2009-11-18 17:09:24 -05:00
wl1251_acx.c wl1251: Add acx command to set tbtt and dtim period 2009-11-18 17:09:21 -05:00
wl1251_acx.h wl1251: Increase the beacon loss timeout value and handle regain event 2009-11-18 17:09:22 -05:00
wl1251_boot.c wl1251: add NVS in EEPROM support 2009-11-18 17:09:24 -05:00
wl1251_boot.h
wl1251_cmd.c
wl1251_cmd.h
wl1251_debugfs.c
wl1251_debugfs.h
wl1251_event.c wl1251: Increase the beacon loss timeout value and handle regain event 2009-11-18 17:09:22 -05:00
wl1251_event.h
wl1251_init.c wl1251: Configure beacon filtering on if PSM used 2009-11-18 17:09:20 -05:00
wl1251_init.h
wl1251_io.c
wl1251_io.h
wl1251_main.c wl1251: Send null data packet with "TODS" bit set 2009-11-18 17:09:23 -05:00
wl1251_ps.c wl1251: Implement delayed entry into ELP mode 2009-11-18 17:09:20 -05:00
wl1251_ps.h wl1251: Implement delayed entry into ELP mode 2009-11-18 17:09:20 -05:00
wl1251_reg.h wl1251: add NVS in EEPROM support 2009-11-18 17:09:24 -05:00
wl1251_rx.c wl1251: remove depcreated qual usage 2009-11-18 17:09:23 -05:00
wl1251_rx.h
wl1251_sdio.c
wl1251_spi.c wl1251: add NVS in EEPROM support 2009-11-18 17:09:24 -05:00
wl1251_spi.h
wl1251_tx.c
wl1251_tx.h
wl1271.h wl1271: Add retry implementation for PSM entries 2009-11-02 15:43:34 -05:00
wl1271_acx.c wl1271: Increase TX power value 2009-11-02 15:43:31 -05:00
wl1271_acx.h
wl1271_boot.c wl1271: Add retry implementation for PSM entries 2009-11-02 15:43:34 -05:00
wl1271_boot.h
wl1271_cmd.c wl1271: Generalize command response reading 2009-11-02 15:43:36 -05:00
wl1271_cmd.h wl1271: Generalize command response reading 2009-11-02 15:43:36 -05:00
wl1271_conf.h wl1271: Add retry implementation for PSM entries 2009-11-02 15:43:34 -05:00
wl1271_debugfs.c
wl1271_debugfs.h
wl1271_event.c wl1271: Prevent PSM-entry retry loop if PSM cancelled 2009-11-28 15:04:26 -05:00
wl1271_event.h wl1271: Add retry implementation for PSM entries 2009-11-02 15:43:34 -05:00
wl1271_init.c wl1271: Check result code of commands 2009-11-02 15:43:32 -05:00
wl1271_init.h
wl1271_main.c wl1271: fix the inetdev notifier callback return values 2009-11-28 15:04:29 -05:00
wl1271_ps.c
wl1271_ps.h
wl1271_reg.h
wl1271_rx.c wl1271: use __dev_alloc_skb() on RX 2009-11-04 18:44:53 -05:00
wl1271_rx.h
wl1271_spi.c
wl1271_spi.h
wl1271_tx.c
wl1271_tx.h