wil6210: report all received mgmt frames
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Wed, 13 Mar 2013 12:12:45 +0000 (14:12 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 13 Mar 2013 18:23:04 +0000 (14:23 -0400)
Pass to cfg80211 all management frames.
Used by wpa_supplicant.

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/wil6210/wmi.c

index 9c06942..dc2ad85 100644 (file)
@@ -334,6 +334,9 @@ static void wmi_evt_rx_mgmt(struct wil6210_priv *wil, int id, void *d, int len)
                } else {
                        wil_err(wil, "cfg80211_inform_bss() failed\n");
                }
+       } else {
+               cfg80211_rx_mgmt(wil->wdev, freq, signal,
+                                (void *)rx_mgmt_frame, d_len, GFP_KERNEL);
        }
 }