diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-07-07 01:43:02 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-08 19:24:26 (GMT) |
commit | 4ff176674e75bdee9022dded415fb805f15700ad (patch) | |
tree | d4a103ec06836e07927930c6c86594ca00270a08 /kernel/exit.c | |
parent | 2fbddeb5c409c90be4706ea2beb7f1fc02100c72 (diff) | |
download | linux-fsl-qoriq-4ff176674e75bdee9022dded415fb805f15700ad.tar.xz |
mac80211_hwsim: avoid NULL access
There's a race condition -- started can be set to true
before channel is set due to the way mac80211 callbacks
currently work (->start should probably pass the channel
we would like to have initially). For now simply add a
check to hwsim to avoid dereferencing the NULL channel
pointer.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'kernel/exit.c')
0 files changed, 0 insertions, 0 deletions