| Submitter | Rajkumar Manoharan |
|---|---|
| Date | Aug. 9, 2012, 2:53 p.m. |
| Message ID | <1344523993-3991-1-git-send-email-rmanohar@qca.qualcomm.com> |
| Download | mbox | patch |
| Permalink | /patch/176141/ |
| State | Accepted |
| Commit | edb9bfba8914932aa44657c41fb99dc984e1f8d2 |
| Headers | show |
Comments
On Thu, Aug 09, 2012 at 08:23:13PM +0530, Rajkumar Manoharan wrote: > Right now 11b rates are masked out while creating p2p interface. > But it is always failing as the interface is down. Most of drivers > allows to configure rates only when the interface is UP and running. > So let us disable 11b rates when interface type is changed into > p2p type and it is UP and running. Thanks, applied. PS. There is no need to re-send patches if the previously sent version is identical and shows up in the patchwork queue at http://patchwork.ozlabs.org/project/hostap/list/. Extra copies are just adding undesired extra work for me.
Patch
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 016250c..30a1279 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -7073,6 +7073,9 @@ done: return ret; } + if (is_p2p_interface(nlmode)) + nl80211_disable_11b_rates(drv, drv->ifindex, 1); + if (is_ap_interface(nlmode)) { nl80211_mgmt_unsubscribe(bss, "start AP"); /* Setup additional AP mode functionality if needed */