aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mac80211_hwsim.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2012-03-29 10:30:41 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-04-10 15:20:28 -0400
commit88c868c43ba38ac3bab07bab4c45b4bc44c94357 (patch)
treec56c66967ebb4a33142a54ef94396340656399bf /drivers/net/wireless/mac80211_hwsim.c
parent32c5057b22a60b23353dda93c57e475856ca286c (diff)
mac80211: sanity check for null SSID
While associated we should never have empty SSID, but life can be full of surprises, and is allways better to print a warning than crash. Before memcpy() in ieee80211_probereq_get() check ssid_len instead of ssid pointer, sice pointer it always passed by "ssidie + 2" expression to send probe functions, so practically never can be NULL. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
0 files changed, 0 insertions, 0 deletions