Revert "wifi: cw1200: cap SSID length in cw1200_do_join()"
This reverts commit a45926a8a4 which is
commit f8f15f6742b8874e59c9c715d0af3474608310ad upstream.
It breaks the Android kernel build and can be brought back in the future
in an safe way if it is really needed.
Bug: 161946584
Change-Id: Id9a3a21f16f727cad5731b7aaac3d7e690d79068
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
@@ -1289,7 +1289,7 @@ static void cw1200_do_join(struct cw1200_common *priv)
|
||||
rcu_read_lock();
|
||||
ssidie = ieee80211_bss_get_ie(bss, WLAN_EID_SSID);
|
||||
if (ssidie) {
|
||||
join.ssid_len = min(ssidie[1], IEEE80211_MAX_SSID_LEN);
|
||||
join.ssid_len = ssidie[1];
|
||||
memcpy(join.ssid, &ssidie[2], join.ssid_len);
|
||||
}
|
||||
rcu_read_unlock();
|
||||
|
||||
Reference in New Issue
Block a user