]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Do not try to associate with an empty SSID
authorJouni Malinen <jouni.malinen@atheros.com>
Thu, 11 Jun 2009 15:19:45 +0000 (18:19 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Jun 2009 19:05:51 +0000 (15:05 -0400)
commit055c18bd1a0eb22d6194017b4dabcd5daa596023
treed62bac9654a823b14bebabf7f837e2f9acba2260
parentd6b38ed715002f7441e7fccdd7ac9aa0e9f58824
mac80211: Do not try to associate with an empty SSID

It looks like some programs (e.g., NM) are setting an empty SSID with
SIOCSIWESSID in some cases. This seems to trigger mac80211 to try to
associate with an invalid configuration (wildcard SSID) which will
result in failing associations (or odd issues, potentially including
kernel panic with some drivers) if the AP were to actually accept this
anyway).

Only start association process if the SSID is actually set. This
speeds up connection with NM in number of cases and avoids sending out
broken association request frames.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c