diff options
| author | 2010-03-17 14:40:57 +0000 | |
|---|---|---|
| committer | 2010-05-11 11:35:50 -0700 | |
| commit | 51b2a028699c5a1f05e130d2e4d0773332f0f45e (patch) | |
| tree | a1aa08be908e8e225f45e6006d75bb364055e375 /include/linux/timer.h | |
| parent | Staging: wlan-ng: fix p80211wext_mhz_to_channel for channel 14 (diff) | |
Staging: wlan-ng: refactor p80211wext.c to reduce text size.
Refactor the wext interface to reduce lines of code & module text size.
- add a helper function p80211wext_getmib
- rename p80211wext_dorequest to p80211wext_setmib
- refactor wext to call the get/set mib helpers and so reduce repeated code.
size reported text reduction :-
text data bss dec hex filename
8343 720 0 9063 2367 p80211wext.o.patch
9907 720 0 10631 2987 p80211wext.o.orig
Tested on x86_32 laptop, everything works correctly using NetworkManager,
and iwconfig & iwlist return sensible results when reading from the card.
Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/timer.h')
0 files changed, 0 insertions, 0 deletions
