summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/debug.c
diff options
context:
space:
mode:
authorLuciano Coelho2011-05-18 10:42:03 +0200
committerJohn W. Linville2011-05-19 19:54:17 +0200
commita2cd43c52aa5c676b03d575177536e05ac672c75 (patch)
treee62d1019851368daebb5cf99e1a6c25c2967f2df /drivers/net/wireless/ath/ath9k/debug.c
parentmac80211: Don't sleep when growing the mesh path (diff)
downloadkernel-qcow2-linux-a2cd43c52aa5c676b03d575177536e05ac672c75.tar.gz
kernel-qcow2-linux-a2cd43c52aa5c676b03d575177536e05ac672c75.tar.xz
kernel-qcow2-linux-a2cd43c52aa5c676b03d575177536e05ac672c75.zip
nl80211: remove some stack variables in trigger_scan and start_sched_scan
Some stack variables (name *ssid and *channel) are only used to define the size of the memory block that needs to be allocated for the request structure in the nl80211_trigger_scan() and nl80211_start_sched_scan() functions. This is unnecessary because the sizes of the actual elements in the structure can be used instead. Signed-off-by: Luciano Coelho <coelho@ti.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/debug.c')
0 files changed, 0 insertions, 0 deletions