/* * netsniff-ng - the packet sniffing beast * Copyright 2009, 2010 Daniel Borkmann. * Subject to the GPL, version 2. */ #include #include "hash.h" #include "protos.h" #include "dissector.h" #include "dissector_80211.h" #include "xmalloc.h" #include "oui.h" struct hash_table ieee80211_lay2; static inline void dissector_init_entry(int type) { dissector_set_print_type(&ieee80211_ops, type); } static inline void dissector_init_exit(int type) { dissector_set_print_type(&none_ops, type); } static void dissector_init_layer_2(int type) { init_hash(&ieee80211_lay2); // INSERT_HASH_PROTOS(blubber_ops, ieee80211_lay2); for_each_hash_int(&ieee80211_lay2, dissector_set_print_type, type); } void dissector_init_ieee80211(int fnttype) { dissector_init_entry(fnttype); dissector_init_layer_2(fnttype); dissector_init_exit(fnttype); dissector_init_oui(); } void dissector_cleanup_ieee80211(void) { free_hash(&ieee80211_lay2); dissector_cleanup_oui(); } t name='h' onchange='this.form.submit();'> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPaul Donohue <linux-kernel@PaulSD.com>2017-01-03 10:39:28 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-01-03 12:33:10 -0800
commit47e3a5edc6538d66e470aaed3b7c57255cb37ca1 (patch)
treea31bdc5aa6937ecb38038e4944bc55a95b105676 /drivers
parent72f0991354b24b9860ddc57b12d5c39bd8e3c962 (diff)
Input: ALPS - fix TrackStick Y axis handling for SS5 hardware
A minus character was lost in commit 23fce365, causing the Y axis to be inverted for SS5 TrackStick events. (Pushing the TrackStick up caused the pointer to move down, and vice versa.) Restore the lost minus. Fixes: 23fce365c6a2 ("Input: ALPS - clean up code for SS5 hardware") Signed-off-by: Paul Donohue <linux-kernel@PaulSD.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers')