]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Reset nlmode to station on leaving IBSS
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 25 Sep 2013 20:14:41 +0000 (23:14 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 25 Sep 2013 20:14:41 +0000 (23:14 +0300)
commit5d4c78fb1f22f68c2c8e7031ce9f00dd3c11e022
treea91c2598795bc4523cdae440fe8d3c620e2ff921
parent0249c125960b807b1c2cc4ba66f933cd13466009
nl80211: Reset nlmode to station on leaving IBSS

Previously, IBSS mode (NL80211_IFTYPE_ADHOC) was left in drv->nlmode
when leaving IBSS. This causes issues for send_mlme() handler for P2P
Probe Response transmission in Listen state. Fix this by clearing nlmode
back to NL80211_IFTYPE_STATION on leaving IBSS so that following P2P
operations can be executed correctly. Previously, this was fixed only
when the next authentication/association attempt in station mode
occured.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/drivers/driver_nl80211.c