Message ID | 20150603171634.2da4f45d@canb.auug.org.au |
---|---|
State | Not Applicable, archived |
Delegated to: | David Miller |
Headers | show |
Hi Stephen, all, > Caused by commit c5c77ba18ea6 ("staging: wilc1000: Add SDIO/SPI 802.11 > driver") from the staging tree interacting with commit 80279fb7ba5b > ("cfg80211: properly send NL80211_ATTR_DISCONNECTED_BY_AP in > disconnect") from the net-next tree. I thought I fixed it all, but it looks like this is a new driver. > I applied the below merge fix patch (I didn't know if it should be > "true" or "false" - advise would be nice). As far as I can tell from looking at a few lines of context it's handling a disconnect event from the firmware, which presumably sends the event upon deauth from the AP; thus it should be 'true' instead, since the argument says "from_ap". johannes -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index f5eff0933e7d..1685669762e8 100644 --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c @@ -679,7 +679,7 @@ static void CfgConnectResult(tenuConnDisconnEvent enuConnDisconnEvent, pstrDisconnectNotifInfo->u16reason = 1; } cfg80211_disconnected(dev, pstrDisconnectNotifInfo->u16reason, pstrDisconnectNotifInfo->ie, - pstrDisconnectNotifInfo->ie_len, GFP_KERNEL); + pstrDisconnectNotifInfo->ie_len, false, GFP_KERNEL); }