drivers/staging/rtl8187se: Don't pass huge struct by value
authorJesper Juhl <jj@chaosbits.net>
Fri, 12 Aug 2011 22:51:40 +0000 (00:51 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 21:46:05 +0000 (14:46 -0700)
struct ieee80211_network is fairly large (more than half a kilobyte),
so let's pass a pointer instead of passing the entire structure by
value when ieee80211_is_54g() and ieee80211_is_shortslot() need to
look at a few members.
Also remove parentheses around the values being returned from those
two functions - 'return' is not a function.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found