Skip to content
Commit 64f851e4 authored by Jan Niehusmann's avatar Jan Niehusmann Committed by John W. Linville
Browse files

mac80211: trigger ieee80211_sta_work after opening interface



ieee80211_sta_work is disabled while network interface
is down. Therefore, if you configure wireless parameters
before bringing the interface up, these configurations are
not yet effective and association fails.

A workaround from userspace is calling a command like
'iwconfig wlan0 ap any' after the interface is brought up.

To fix this behaviour, trigger execution of ieee80211_sta_work from
ieee80211_open when in STA or IBSS mode.

Signed-off-by: default avatarJan Niehusmann <jan@gondor.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent f83f1768
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment