From: Luis R. Rodriguez Date: Thu, 28 May 2009 02:56:05 +0000 (-0400) Subject: mac80211: handle -EALREADY on cfg80211 op assoc req X-Git-Tag: v2.6.31-rc1~330^2~157^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86ab04c8c1df51df7d6d3709da546e0163ac856b;p=pandora-kernel.git mac80211: handle -EALREADY on cfg80211 op assoc req When the SME requests to associate to an open AP ieee80211_sta_set_extra_ie() can be called with zero IE length. When this happens or when the extra IE has already been set -EALREADY is passed down and the supplicant will complain that the operation is already in progress and it will not let us associate. We correct this by treating -EALREADY from ieee80211_sta_set_extra_ie() as a success just as we do for wext. Cc: Shan.Palanisamy@Atheros.com Signed-off-by: Luis R. Rodriguez Signed-off-by: John W. Linville --- Reading git-diff-tree failed