From: Richard Kennedy Date: Wed, 17 Mar 2010 14:40:57 +0000 (+0000) Subject: Staging: wlan-ng: refactor p80211wext.c to reduce text size. X-Git-Tag: v2.6.35-rc1~441^2^2~379 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51b2a028699c5a1f05e130d2e4d0773332f0f45e;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed