On Tue, Jun 18, 2013 at 04:36:57PM -0700, Bing Zhao wrote: > From: Amitkumar Karwar <akarwar@xxxxxxxxxxx> > > This patch adds code to parse requested AP's 11h capabilities > and add 11h information in association request. > > Also, deauth is sent to the AP after receiving channel switch > announcement event from firmware. This happens when AP advertises > WLAN_EID_CHANNEL_SWITCH IE in it's beacon. > > Signed-off-by: Amitkumar Karwar <akarwar@xxxxxxxxxxx> > Signed-off-by: Bing Zhao <bzhao@xxxxxxxxxxx> > Signed-off-by: Paul Stewart <pstew@xxxxxxxxxxxx> > --- > drivers/net/wireless/mwifiex/sta_event.c | 7 +++ > diff --git a/drivers/net/wireless/mwifiex/sta_event.c b/drivers/net/wireless/mwifiex/sta_event.c > index 41aafc7..0f7b4cf 100644 > --- a/drivers/net/wireless/mwifiex/sta_event.c > +++ b/drivers/net/wireless/mwifiex/sta_event.c > @@ -427,6 +427,13 @@ int mwifiex_process_sta_event(struct mwifiex_private *priv) > > break; > > + case EVENT_CHANNEL_SWITCH_ANN: > + dev_dbg(adapter->dev, "event: Channel Switch Announcement\n"); > + ret = mwifiex_send_cmd_async(priv, > + HostCmd_CMD_802_11_DEAUTHENTICATE, > + HostCmd_ACT_GEN_SET, 0, > + priv->curr_bss_params.bss_descriptor.mac_address); > + > default: > dev_dbg(adapter->dev, "event: unknown event id: %#x\n", > eventcause); Do you mean for this case to fall-through to the default case? -- John W. Linville Someday the world will need a hero, and you linville@xxxxxxxxxxxxx might be all we have. Be ready. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html