~ubuntu-branches/ubuntu/wily/linux-ti-omap4/wily

« back to all changes in this revision

Viewing changes to net/mac80211/iface.c

  • Committer: Package Import Robot
  • Author(s): Paolo Pisati, Paolo Pisati
  • Date: 2013-07-11 18:35:20 UTC
  • Revision ID: package-import@ubuntu.com-20130711183520-htnf1x4y5r11hndr
Tags: 3.5.0-229.42
* Release Tracking Bug
  - LP: #1199276

[ Paolo Pisati ]

* [Config] CONFIG_ATH9K_LEGACY_RATE_CONTROL is not set

Show diffs side-by-side

added added

removed removed

Lines of Context:
1408
1408
 
1409
1409
        ASSERT_RTNL();
1410
1410
 
 
1411
        /*
 
1412
         * Close all AP_VLAN interfaces first, as otherwise they
 
1413
         * might be closed while the AP interface they belong to
 
1414
         * is closed, causing unregister_netdevice_many() to crash.
 
1415
         */
 
1416
        list_for_each_entry(sdata, &local->interfaces, list)
 
1417
                if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
 
1418
                        dev_close(sdata->dev);
 
1419
 
1411
1420
        mutex_lock(&local->iflist_mtx);
1412
1421
        list_for_each_entry_safe(sdata, tmp, &local->interfaces, list) {
1413
1422
                list_del(&sdata->list);