From: Avinash Patil Date: Wed, 19 Mar 2014 05:19:16 +0000 (-0700) Subject: mwifiex: handle extended scan event for AP interface X-Git-Tag: accepted/tizen/common/20141203.182822~316^2~18^2^2~50 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc5c1afb1ed6318cdb3f92b7aa936564c4427f28;p=platform%2Fkernel%2Flinux-arm64.git mwifiex: handle extended scan event for AP interface Stations associated to mwifiex AP would not be able to ping AP after scan was issued on AP interface. This happened because there was no handling of extended scan event in AP. This patch adds this handling and fixes ping failure issue. Signed-off-by: Avinash Patil Signed-off-by: Amitkumar Karwar Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/mwifiex/uap_event.c b/drivers/net/wireless/mwifiex/uap_event.c index ae50e91..92e77a3 100644 --- a/drivers/net/wireless/mwifiex/uap_event.c +++ b/drivers/net/wireless/mwifiex/uap_event.c @@ -166,6 +166,12 @@ int mwifiex_process_uap_event(struct mwifiex_private *priv) mwifiex_11n_ba_stream_timeout(priv, ba_timeout); } break; + case EVENT_EXT_SCAN_REPORT: + dev_dbg(adapter->dev, "event: EXT_SCAN Report\n"); + if (adapter->ext_scan) + return mwifiex_handle_event_ext_scan_report(priv, + adapter->event_skb->data); + break; default: dev_dbg(adapter->dev, "event: unknown event id: %#x\n", eventcause);