|
@@ -853,6 +853,11 @@ int rt2x00lib_probe_dev(struct rt2x00_dev *rt2x00dev)
|
|
|
BIT(NL80211_IFTYPE_MESH_POINT) |
|
|
|
BIT(NL80211_IFTYPE_WDS);
|
|
|
|
|
|
+ /*
|
|
|
+ * Initialize configuration work.
|
|
|
+ */
|
|
|
+ INIT_WORK(&rt2x00dev->intf_work, rt2x00lib_intf_scheduled);
|
|
|
+
|
|
|
/*
|
|
|
* Let the driver probe the device to detect the capabilities.
|
|
|
*/
|
|
@@ -862,11 +867,6 @@ int rt2x00lib_probe_dev(struct rt2x00_dev *rt2x00dev)
|
|
|
goto exit;
|
|
|
}
|
|
|
|
|
|
- /*
|
|
|
- * Initialize configuration work.
|
|
|
- */
|
|
|
- INIT_WORK(&rt2x00dev->intf_work, rt2x00lib_intf_scheduled);
|
|
|
-
|
|
|
/*
|
|
|
* Allocate queue array.
|
|
|
*/
|