mwifiex: allocate space for one more mwifiex_private structure
[deliverable/linux.git] / drivers / net / wireless / mwifiex / wmm.c
index 429a1dee2d2602096970f5790ed7790da1e1d454..f3fc6551585780b08724bb8112457caafeef220e 100644 (file)
@@ -885,6 +885,10 @@ mwifiex_wmm_get_highest_priolist_ptr(struct mwifiex_adapter *adapter,
                                tid_ptr = &(priv_tmp)->wmm.
                                        tid_tbl_ptr[tos_to_tid[i]];
 
+                               /* For non-STA ra_list_curr may be NULL */
+                               if (!tid_ptr->ra_list_curr)
+                                       continue;
+
                                spin_lock_irqsave(&tid_ptr->tid_tbl_lock,
                                                  flags);
                                is_list_empty =
This page took 0.050198 seconds and 5 git commands to generate.