diff options
| author | Maya Erez <qca_merez@qca.qualcomm.com> | 2016-03-01 20:18:05 +0300 |
|---|---|---|
| committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2016-03-07 12:43:19 +0300 |
| commit | 3d287fb398c03189a1394778162f6404e4d44ad2 (patch) | |
| tree | ed6167b1c399f626043c6e3694e77aafad554b56 /include/linux | |
| parent | 361486b27c7e57dab657dbffd1e17818c7911c72 (diff) | |
| download | linux-3d287fb398c03189a1394778162f6404e4d44ad2.tar.xz | |
wil6210: AP: prevent connecting to already connected station
wmi_evt_connect doesn't check if the connect event is received for
an already connected station.
This can lead to memory leak as a new vring is allocated without
freeing the previously allocated vring and to unexpected behavior
of nl80211 layer due to unexpected notification of a new station.
Add a check in wmi_evt_connect in AP mode to verify that the requested
CID is not associated to an already connected station.
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
