]> git.baikalelectronics.ru Git - kernel.git/commit
wl12xx: avoid bail out when probe-resp is not set by mac80211
authorArik Nemtsov <arik@wizery.com>
Tue, 22 Nov 2011 17:52:59 +0000 (19:52 +0200)
committerLuciano Coelho <coelho@ti.com>
Thu, 1 Dec 2011 13:55:54 +0000 (15:55 +0200)
commit6734a6530710c800b46bf334ba43c8e9b8836b17
tree86d6d92c7f1443fb54e7f85d15afa183b754d921
parent89392f6ad59bc3713ea36d84251f697414f1c2cd
wl12xx: avoid bail out when probe-resp is not set by mac80211

During reconfig we can get the BSS_CHANGED_AP_PROBE_RESP indication
even if a probe-resp has not been set in the first place. Therefore
ignore the error when not getting a probe-resp from mac80211. Resort to
the legacy probe-resp in this case.

Also take this opportunity to add a vif argument to the set_probe_resp
function.

Reported-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c